Nginx reverse proxy issue for 4xx response code

Published: 5/10/2017
Nginx reverse proxy issue for 4xx response code
Source: SERVERFAULT.COM

I have configured nginx to proxy the request that comes to the port 8000, to route to a different ip. In the configuration i also add Access-control-Allow-Origin header. This works fine if server is responding with 2xx response codes. But if server responds with 4xx response codes, It does not include the header mentioned below server { listen *:8000; ssl on; ssl_certificate /etc/nginx/ssl/axis.cr

Read more
Related news
Comment