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 ?

link|improve this question

42% accept rate
3  
My guess is that whatever app you have running behind lighttpd is building fully qualified redirects to 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 4 at 16:32
feedback

1 Answer

up vote 2 down vote accepted

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

link|improve this answer
It happens to me when I log into FlySpray. – Spacedust Feb 4 at 21:17
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.