Set reverse proxy settings for Cloudflare
This commit is contained in:
parent
4d3e0901d2
commit
60f98037df
|
@ -43,3 +43,10 @@ drupal_settings:
|
||||||
];
|
];
|
||||||
|
|
||||||
$config['config_split.config_split.live']['status'] = TRUE;
|
$config['config_split.config_split.live']['status'] = TRUE;
|
||||||
|
|
||||||
|
// Configure Cloudflare.
|
||||||
|
$settings['reverse_proxy'] = TRUE;
|
||||||
|
$settings['reverse_proxy_addresses'] = [$_SERVER['REMOTE_ADDR']];
|
||||||
|
$settings['reverse_proxy_header'] = 'CF-Connecting-IP';
|
||||||
|
$settings['omit_vary_cookie'] = TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue