##// END OF EJS Templates
nix: Generate new python packages....
nix: Generate new python packages. Locustio is removed from env.

File last commit:

r457:1e39daf5 default
r480:3dabae08 default
Show More
apache-reverse-proxy.rst
33 lines | 908 B | text/x-rst | RstLexer
/ docs / admin / apache-reverse-proxy.rst
project: added all source files and assets
r1 Apache Reverse Proxy
^^^^^^^^^^^^^^^^^^^^
Here is a sample configuration file for using Apache as a reverse proxy.
.. code-block:: apache
<VirtualHost *:80>
ServerName hg.myserver.com
ServerAlias hg.myserver.com
dan
config: update ini/config files to account for /_static path
r456 ## uncomment to serve static files by Apache
## ProxyPass /_static !
dan
docs: update example nginx/apache configs to use .rccontrol static path
r457 ## Alias /_static /path/to/.rccontrol/enterprise-1/static
project: added all source files and assets
r1
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
docs: updated apache/nginx configs
r120 ## Important !
## Directive to properly generate url (clone url) for pylons
project: added all source files and assets
r1 ProxyPreserveHost On
docs: updated apache/nginx configs
r120 ## RhodeCode instance running
ProxyPass / http://127.0.0.1:10002/
ProxyPassReverse / http://127.0.0.1:10002/
project: added all source files and assets
r1
docs: updated apache/nginx configs
r120 ## to enable https use line below
project: added all source files and assets
r1 #SetEnvIf X-Url-Scheme https HTTPS=1
</VirtualHost>