Show More
@@ -111,11 +111,11 b' app_instance_uuid = development-not-secr' | |||||
111 | ## cut off limit for large diffs (size in bytes) |
|
111 | ## cut off limit for large diffs (size in bytes) | |
112 | cut_off_limit = 256000 |
|
112 | cut_off_limit = 256000 | |
113 |
|
113 | |||
114 | ## force https in Kallithea, fixes https redirects, assumes it's always https |
|
114 | ## always pretend the client connected using HTTPS (default false) | |
115 |
force_https = |
|
115 | #force_https = true | |
116 |
|
116 | |||
117 | ## use Strict-Transport-Security headers |
|
117 | ## use Strict-Transport-Security headers (default false) | |
118 |
use_htsts = |
|
118 | #use_htsts = true | |
119 |
|
119 | |||
120 | ## number of commits stats will parse on each iteration |
|
120 | ## number of commits stats will parse on each iteration | |
121 | commit_parse_limit = 25 |
|
121 | commit_parse_limit = 25 |
@@ -417,7 +417,7 b' directly which scheme/protocol Kallithea' | |||||
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`` |
|
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: |
@@ -174,11 +174,11 b' app_instance_uuid = ${uuid()}' | |||||
174 | <%text>##</%text> cut off limit for large diffs (size in bytes) |
|
174 | <%text>##</%text> cut off limit for large diffs (size in bytes) | |
175 | cut_off_limit = 256000 |
|
175 | cut_off_limit = 256000 | |
176 |
|
176 | |||
177 | <%text>##</%text> force https in Kallithea, fixes https redirects, assumes it's always https |
|
177 | <%text>##</%text> always pretend the client connected using HTTPS (default false) | |
178 |
force_https = |
|
178 | #force_https = true | |
179 |
|
179 | |||
180 | <%text>##</%text> use Strict-Transport-Security headers |
|
180 | <%text>##</%text> use Strict-Transport-Security headers (default false) | |
181 |
use_htsts = |
|
181 | #use_htsts = true | |
182 |
|
182 | |||
183 | <%text>##</%text> number of commits stats will parse on each iteration |
|
183 | <%text>##</%text> number of commits stats will parse on each iteration | |
184 | commit_parse_limit = 25 |
|
184 | commit_parse_limit = 25 |
General Comments 0
You need to be logged in to leave comments.
Login now