Hi Maxim, thanks for getting back to me. I've enabled debugging and the output is here: http://pastebin.com/Dmw2nJMY. I've cleared all caches and restarted varnish, nginx and php5-fpm and mysql. I didn't explain myself very well earlier. The "fastcgi_param SERVER_PORT 80" does work for php pages (it's in my location ~ .php$ block) but the problem I'm having is with my server root.by olan - Nginx Mailing List - English
Hi all, I posted this question on SO but haven't received much attention, so I figured here would be better. Basically I am attempting to run varnish on port 80 and my nginx server on 8080, however any request to 80 redirects and appends the port to the URL. i.e. http://site.com/ -> http://site.com:8080/ From everything I've read it seems that 'port_in_redirect off' should disableby olan - Nginx Mailing List - English