1

I am proxying some paths to another server. That server responds with 302 Moved Temporarily. I need to change that particular status code to 200 OK. Otherwise I can pass response through as-is and other status codes should pass without changes.

location /api {
  proxy_pass http://some.server/api;
}

Reason for status code mangling is IE that wont work with 302 status code in this request when using Ajax.

Juha Syrjälä
  • 1,081
  • 10
  • 19

0 Answers0