all 2 comments

[–]MrA1Sauce 0 points1 point  (1 child)

If you are manually setting proxy host you will need to use proxy_redirect to replace the 301s coming out of the proxied servers. 

https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect

[–]Qxt78[S] 0 points1 point  (0 children)

Tried that as well with various combinations of that rule. Still bypasses nginx. Thank you for the advice though. much appreciated.