##// END OF EJS Templates
autocomplete: add flags to show/hide active users, and also display this information...
autocomplete: add flags to show/hide active users, and also display this information in autocomplete data. ref #3374

File last commit:

r120:abd64f5a default
r222:c6ddf19a default
Show More
apache-reverse-proxy.rst
33 lines | 952 B | text/x-rst | RstLexer
/ docs / admin / apache-reverse-proxy.rst

Apache Reverse Proxy

Here is a sample configuration file for using Apache as a reverse proxy.

<VirtualHost *:80>
        ServerName hg.myserver.com
        ServerAlias hg.myserver.com

        ## uncomment root directive if you want to serve static files by
        ## Apache requires static_files = false in .ini file
        #DocumentRoot /path/to/rhodecode/installation/public

        <Proxy *>
          Order allow,deny
          Allow from all
        </Proxy>

        ## Important !
        ## Directive to properly generate url (clone url) for pylons
        ProxyPreserveHost On

        ## RhodeCode instance running
        ProxyPass / http://127.0.0.1:10002/
        ProxyPassReverse / http://127.0.0.1:10002/

        ## to enable https use line below
        #SetEnvIf X-Url-Scheme https HTTPS=1

</VirtualHost>