Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I got Varnish on port 80 before lighttpd on port 8080 as a cache. Sometimes when I go to page I'm being redirected to How to prevent this ?

share|improve this question
My guess is that whatever app you have running behind lighttpd is building fully qualified redirects to since that's where the app believes it is running. Is it code you wrote or a package like Wordpress? – daveadams Feb 4 '12 at 16:32
up vote 2 down vote accepted

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

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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