Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: Why is nginx returning a 301 redirect in my reverse-proxy to a REST service?
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
JoakimR
March 25, 2016 11:09PM
Registered: 8 years ago
Posts: 30
Hi
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
http://nginx.org/en/docs/http/ngx_http_proxy_module.html
Reply
Quote
RSS
Subject
Author
Posted
Why is nginx returning a 301 redirect in my reverse-proxy to a REST service?
rowland@river2sea.org
March 25, 2016 08:02PM
Re: Why is nginx returning a 301 redirect in my reverse-proxy to a REST service?
JoakimR
March 25, 2016 11:09PM
Sorry, only registered users may post in this forum.
Click here to login
Online Users
Guests: 131
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024