I want to use nginx as ssl proxy in front of apache running typo3 6.2.10. I'm returning X-Forwarded headers, including X-Forwarded-Proto https, and the proxying part works fine.

But I also need to modify my base href tag depending on the protocol. And I can't find a working example on how to do this. I found a lot of discussion and I know that host headers can be forged and shouldn't be trusted, but at the same time I cannot find a way to make a working condition like this:

config.baseURL = http://domain.com
[globalString = _SERVER|HTTPS = on]
config.baseURL = https://domain.com
[global]

Any idea how to solve this?

Regards
Jan Slusarczyk
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to