##// END OF EJS Templates
threading: Add factory that creates curl session for each thread....
threading: Add factory that creates curl session for each thread. When creating a repo with an import url pointing to another repo on the same enterprise instance we call the vcssserver to check the url. The vcsserver then calls to enterprise to verify the url. This leads to two threads using the same cur session.

File last commit:

r120:abd64f5a default
r243:dae685be default
Show More
apache-reverse-proxy.rst
33 lines | 952 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
docs: updated apache/nginx configs
r120 ## 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
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>