Ensure BlockUntrustedProxyHeaders is enabled by default

This commit is contained in:
Damian Mooyman 2015-05-29 11:46:47 +12:00
parent e759ffbcdc
commit d467b16bf2

View File

@ -27,7 +27,7 @@ ErrorDocument 500 /assets/error-500.html
# Ensure that X-Forwarded-Host is only allowed to determine the request # Ensure that X-Forwarded-Host is only allowed to determine the request
# hostname for servers ips defined by SS_TRUSTED_PROXY_IPS in your _ss_environment.php # hostname for servers ips defined by SS_TRUSTED_PROXY_IPS in your _ss_environment.php
# Note that in a future release this setting will be always on. # Note that in a future release this setting will be always on.
#SetEnv BlockUntrustedProxyHeaders true SetEnv BlockUntrustedIPs true
</IfModule> </IfModule>
<IfModule mod_rewrite.c> <IfModule mod_rewrite.c>