I got Varnish on port 80 before lighttpd on port 8080 as a cache. Sometimes when I go to page http://domain.com/ I'm being redirected to http://domain.com:8080. How to prevent this ?
Asked
Active
Viewed 332 times
0
-
3My guess is that whatever app you have running behind lighttpd is building fully qualified redirects to http://domain.com:8080 since that's where the app believes it is running. Is it code you wrote or a package like Wordpress? – daveadams Feb 04 '12 at 16:32
1 Answers
2
You need both forward and reverse proxy entries to avoid this behavior.

Tim Brigham
- 15,545
- 10
- 75
- 115