[TYPO3-core] trustedHostsPattern

Helmut Hummel helmut.hummel at typo3.org
Fri May 23 13:04:10 CEST 2014


Hi!

On 22.05.14 14:01, Tomas Norre Mikkelsen wrote:

> We have a setup with nginx as reverse proxy in front of apache.We are using
> this for SSL to be prepared for varnish.
>
> We also have multiple domain for eg. devices, cdn etc.
>
> Please let me know if you need more info.

I would be interested in the following vars in the TYPO3 environment:

print_r(array_intersect_key($_SERVER, 
array('HTTP_HOST'=>'','SERVER_NAME'=>'','SERVER_PORT'=>'','REQUEST_URI'=>'','HTTPS'=>'','REMOTE_ADDR'=>'')));

var_dump($GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxyIP']);
var_dump($GLOBALS['TYPO3_CONF_VARS']['SYS']['reverseProxySSL']);
var_dump(t3lib_div::getIndpEnv('TYPO3_SSL'));


Make sure to *obfuscate the IP adresses and host names* in case they are 
sensible information in your case before posting here.



Kind regards,
Helmut

-- 
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 Core Developer, TYPO3 Security Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-team-core mailing list