Skip to content
Snippets Groups Projects
Commit 3a99ae14 authored by jurgenhaas's avatar jurgenhaas
Browse files

Configure trusted proxies when required

parent 71ed75ba
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,11 @@ $CONFIG = array (
'trusted_domains' => array(
0 => '{{ nextcloud.domain }}',
),
{% if default_proxy is defined and default_proxy %}
'trusted_proxies' => array(
0 => '{{ hostvars[default_proxy]['proxy_address'] }}',
),
{% endif %}
'datadirectory' => '{{ dataRoot }}',
'dbtype' => 'mysql',
'version' => '{{ nextcloud_current_version.stdout }}',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment