Mercurial > kallithea
diff development.ini @ 8899:af20f57282ff i18n
Merge stable
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 30 May 2021 01:34:48 +0200 |
parents | d483e2df546f |
children |
line wrap: on
line diff
--- a/development.ini Fri May 14 16:44:27 2021 +0200 +++ b/development.ini Sun May 30 01:34:48 2021 +0200 @@ -81,6 +81,7 @@ #[filter:proxy-prefix] #use = egg:PasteDeploy#prefix #prefix = /<your-prefix> +#translate_forwarded_server = False [app:main] use = egg:kallithea @@ -111,11 +112,17 @@ ## cut off limit for large diffs (size in bytes) cut_off_limit = 256000 -## force https in Kallithea, fixes https redirects, assumes it's always https -force_https = false +## WSGI environment variable to get the IP address of the client (default REMOTE_ADDR) +#remote_addr_variable = HTTP_X_FORWARDED_FOR + +## WSGI environment variable to get the protocol (http or https) of the client connection (default wsgi.url_scheme) +#url_scheme_variable = HTTP_X_FORWARDED_PROTO -## use Strict-Transport-Security headers -use_htsts = false +## always pretend the client connected using HTTPS (default false) +#force_https = true + +## use Strict-Transport-Security headers (default false) +#use_htsts = true ## number of commits stats will parse on each iteration commit_parse_limit = 25