Mercurial > kallithea
comparison docs/setup.rst @ 1392:00b8fca6886c beta
fixes issue #206
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 18 Jun 2011 01:54:17 +0200 |
parents | 5a31d387f347 |
children | 93cffcb6fd54 |
comparison
equal
deleted
inserted
replaced
1391:5f80cc29ca07 | 1392:00b8fca6886c |
---|---|
369 | 369 |
370 There are two ways to enable https: | 370 There are two ways to enable https: |
371 | 371 |
372 - Set HTTP_X_URL_SCHEME in your http server headers, than rhodecode will | 372 - Set HTTP_X_URL_SCHEME in your http server headers, than rhodecode will |
373 recognize this headers and make proper https redirections | 373 recognize this headers and make proper https redirections |
374 - Alternatively, set `force_https = true` in the ini configuration to force | 374 - Alternatively, set the `force_https = true` in the ini configuration to force |
375 using https, no headers are needed than to enable https | 375 using https, no headers are needed than to enable https |
376 | 376 |
377 | 377 |
378 Nginx virtual host example | 378 Nginx virtual host example |
379 -------------------------- | 379 -------------------------- |
470 ProxyPass http://127.0.0.1:5000/<someprefix> | 470 ProxyPass http://127.0.0.1:5000/<someprefix> |
471 ProxyPassReverse http://127.0.0.1:5000/<someprefix> | 471 ProxyPassReverse http://127.0.0.1:5000/<someprefix> |
472 SetEnvIf X-Url-Scheme https HTTPS=1 | 472 SetEnvIf X-Url-Scheme https HTTPS=1 |
473 </Location> | 473 </Location> |
474 | 474 |
475 Besides the regular apache setup you will need to add the following to your .ini file:: | 475 Besides the regular apache setup you will need to add the following line |
476 into [app:main] section of your .ini file:: | |
476 | 477 |
477 filter-with = proxy-prefix | 478 filter-with = proxy-prefix |
478 | 479 |
479 Add the following at the end of the .ini file:: | 480 Add the following at the end of the .ini file:: |
480 | 481 |