Mercurial > kallithea
comparison docs/setup.rst @ 8883:fb40978c1afb
docs: clarify that force_https trumps anything else
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 17 May 2021 16:59:06 +0200 |
parents | 20e850093f1c |
children | 883a0c6c425f |
comparison
equal
deleted
inserted
replaced
8882:81e6b5e62a2c | 8883:fb40978c1afb |
---|---|
415 directly which scheme/protocol Kallithea will use when generating URLs: | 415 directly which scheme/protocol Kallithea will use when generating URLs: |
416 | 416 |
417 - With ``https_fixup = true``, the scheme will be taken from the | 417 - With ``https_fixup = true``, the scheme will be taken from the |
418 ``X-Url-Scheme``, ``X-Forwarded-Scheme`` or ``X-Forwarded-Proto`` HTTP header | 418 ``X-Url-Scheme``, ``X-Forwarded-Scheme`` or ``X-Forwarded-Proto`` HTTP header |
419 (default ``http``). | 419 (default ``http``). |
420 - With ``force_https = true`` the default will be ``https``. | 420 - With ``force_https = true``, the scheme will be seen as ``https``. |
421 - With ``use_htsts = true``, Kallithea will set ``Strict-Transport-Security`` when using https. | 421 - With ``use_htsts = true``, Kallithea will set ``Strict-Transport-Security`` when using https. |
422 | 422 |
423 .. _nginx_virtual_host: | 423 .. _nginx_virtual_host: |
424 | 424 |
425 | 425 |