@@ -362,25 +362,25 @@ In order to start using celery run::
.. note::
Make sure you run this command from the same virtualenv, and with the same
user that rhodecode runs.
HTTPS support
-------------
There are two ways to enable https:
- Set HTTP_X_URL_SCHEME in your http server headers, than rhodecode will
recognize this headers and make proper https redirections
- Alternatively, set `force_https = true` in the ini configuration to force
- Alternatively, set the `force_https = true` in the ini configuration to force
using https, no headers are needed than to enable https
Nginx virtual host example
--------------------------
Sample config for nginx using proxy::
server {
listen 80;
server_name hg.myserver.com;
access_log /var/log/nginx/rhodecode.access.log;
@@ -463,25 +463,26 @@ http://wiki.pylonshq.com/display/pylonsc
Apache as subdirectory
----------------------
Apache subdirectory part::
<Location /<someprefix> >
ProxyPass http://127.0.0.1:5000/<someprefix>
ProxyPassReverse http://127.0.0.1:5000/<someprefix>
SetEnvIf X-Url-Scheme https HTTPS=1
</Location>
Besides the regular apache setup you will need to add the following to your .ini file::
Besides the regular apache setup you will need to add the following line
into [app:main] section of your .ini file::
filter-with = proxy-prefix
Add the following at the end of the .ini file::
[filter:proxy-prefix]
use = egg:PasteDeploy#prefix
prefix = /<someprefix>
then change <someprefix> into your choosen prefix
Status change: