[TYPO3-english] Reverse proxy breaks backend URLs
Mark Boland
mark.boland at boland.de
Thu Apr 6 16:07:50 CEST 2017
You’re welcome
Cheers,
Mark
Am 06.04.17, 15:15 schrieb "Glenn S" <typo3-english-bounces at lists.typo3.org im Auftrag von glenn.searby at gmail.com>:
You answer gave me the clue I needed. I needed to set the HTTP_HOST variable that I am passing to phpfpm to be my external domain name.
To do this, on my server which is hosting TYPO3 (also using Nginx), I changed the following rule:
location ~ \.php$ {
fastcgi_pass unix:/var/run/phpfpm/default.sock;
# various other fastcgi_blah...
fastcgi_param HTTP_HOST "www.my-domain-name.com";
}
Thanks very much for your help,
Glenn
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list