You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
curl command, it doesn't show content from proxy_pass, but always serves content from nginx
<title>Welcome to nginx!</title>
margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif;
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p>
<p>For online documentation and support please refer to
Commercial support is available at
<p><em>Thank you for using nginx.</em></p>
This issue has been fixed. There are several issues at work here.
The first is that your proxy_pass config had no effect even though Passenger is not enabled. This has been fixed.
The other issue is that passenger_enabled overrides the handler already set by another Nginx module, such as proxy_pass. This has also been fixed, by making sure that passenger_enabled directives are only inherited if no handler has already been set.