Nginx: Welcome to nginx! page keeps showing Nginx: Welcome to nginx! page keeps showing ruby-on-rails ruby-on-rails

Nginx: Welcome to nginx! page keeps showing


Holy ish. All that is apparently required to make it work is:

Comment out/delete the "location /" directive which is added by default during the installation:

    # location / {    #     root   html;    #     index  index.html index.htm;    #     passenger_enabled on;    # }

(If anybody knows why, I'd be interested to know.)