N°3671 - app_root_url: handle reverse proxies during the setup and preserve existing configuration during an upgrade.

This commit is contained in:
bruno-ds
2021-03-03 11:53:50 +01:00
parent d4607ee815
commit 7b093a6bba
5 changed files with 274 additions and 41 deletions

View File

@@ -1265,6 +1265,14 @@ class Config
'source_of_value' => '',
'show_in_conf_sample' => false,
],
'trust_proxies' => [
'type' => 'bool',
'description' => 'If true, then proxies custom header (X-Forwarded-*) are taken into account. Use only if the webserver is not publicly accessible (reachable only by the reverse proxy)',
'default' => false,
'value' => false,
'source_of_value' => '',
'show_in_conf_sample' => false,
],
);