0

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 ?

Spacedust
  • 558
  • 5
  • 12
  • 28
  • 3
    My 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 Answers1

2

You need both forward and reverse proxy entries to avoid this behavior.

Tim Brigham
  • 15,465
  • 7
  • 72
  • 113