WordPress Behind Reverse Proxy?
-
Hi Guys,
I want to run wordpress behind a reverse proxy. Setup will be:
https://www.example.com:80 (proxy)
–> accesses localhost:12345 (wordpress).WordPress automatically redirects to localhost:12345 after the initial setup, this is easily fixed by editing the url/hostname in the mysql database. However, now it will do redirects to itself in an endless loop. I understand why this happens (wordpress will see the localhost:12345 in the http get request and say “hey thats not my canonical hostname”); is there an easy way to stop this? I just want wordpress to hand out pages, and let me worry about hitting the right hostname, I know what I am doing. ??
Any help appreciated.
best wishes
Nils
- The topic ‘WordPress Behind Reverse Proxy?’ is closed to new replies.