Welcome! Log In Create A New Profile

Advanced

Re: proxy_pass not passing to dynamic $host

November 01, 2013 12:29PM
Thanks Francis. I was able to get past this issue. Appreciate all the help.

Now I am stuck at forwarding the POST parameters to this proxy server.

proxy_pass http://$1:8080/clarity;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 300;
proxy_connect_timeout 300;
proxy_redirect off;
#proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

If I uncomment 'proxy_set_header Host' and 'proxy_set_header X-Forwarded-For' it ends into 404 error. Otherwise it rewrites and proxies fine but doesnt pass the POST parameter.


Regards,
Neha
SubjectAuthorPosted

proxy_pass not passing to dynamic $host

nehay2jOctober 31, 2013 07:55PM

Re: proxy_pass not passing to dynamic $host

Francis DalyOctober 31, 2013 08:40PM

Re: proxy_pass not passing to dynamic $host

nehay2jOctober 31, 2013 09:39PM

Re: proxy_pass not passing to dynamic $host

Francis DalyNovember 01, 2013 01:54AM

Re: proxy_pass not passing to dynamic $host

nehay2jNovember 01, 2013 12:29PM

Re: proxy_pass not passing to dynamic $host

Francis DalyNovember 01, 2013 01:58PM

Re: proxy_pass not passing to dynamic $host

nehay2jNovember 01, 2013 05:16PM

Re: proxy_pass not passing to dynamic $host

nehay2jNovember 01, 2013 09:45PM

Re: proxy_pass not passing to dynamic $host

Francis DalyNovember 02, 2013 05:20AM

Re: proxy_pass not passing to dynamic $host

nehay2jNovember 02, 2013 10:21AM

Re: proxy_pass not passing to dynamic $host

Francis DalyNovember 02, 2013 12:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready