Why is nginx returning a 301 redirect in my reverse-proxy to a REST service?

JoakimR nginx-forum at forum.nginx.org
Sat Mar 26 03:09:21 UTC 2016

I'm pretty new in NginX but the directives suggest you add 
proxy_set_header Host      $host;
    proxy_set_header X-Real-IP $remote_addr;
to your config


Posted at Nginx Forum: https://forum.nginx.org/read.php?2,265660,265664#msg-265664

More information about the nginx mailing list