14

Nginx reverse proxy not passing through root (/)

view full story
linux-howto

http://serverfault.com – I have set up Nginx as a reverse proxy to Apache on a web server. Nginx is listening on 0.0.0.0:80 and passing through to 127.0.0.1:81 This all seems to be working fine, except when I first load the site at the root level (i.e. http://example.com/) nginx is not passing through to Apache, instead displaying the 'Welcome to Nginx!' page. If I CTRL+F5 it will pass through to Apache, also passes through to Apache if I load any other pages on the site.. My vhost is set up as follows: server { listen 0.0.0.0:80; server_name domain.com.au; access_log /var/log/nginx/default.acce (HowTos)