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
Subject Author Posted

proxy_pass not passing to dynamic $host

nehay2j October 31, 2013 07:55PM

Re: proxy_pass not passing to dynamic $host

Francis Daly October 31, 2013 08:40PM

Re: proxy_pass not passing to dynamic $host

nehay2j October 31, 2013 09:39PM

Re: proxy_pass not passing to dynamic $host

Francis Daly November 01, 2013 01:54AM

Re: proxy_pass not passing to dynamic $host

nehay2j November 01, 2013 12:29PM

Re: proxy_pass not passing to dynamic $host

Francis Daly November 01, 2013 01:58PM

Re: proxy_pass not passing to dynamic $host

nehay2j November 01, 2013 05:16PM

Re: proxy_pass not passing to dynamic $host

nehay2j November 01, 2013 09:45PM

Re: proxy_pass not passing to dynamic $host

Francis Daly November 02, 2013 05:20AM

Re: proxy_pass not passing to dynamic $host

nehay2j November 02, 2013 10:21AM

Re: proxy_pass not passing to dynamic $host

Francis Daly November 02, 2013 12:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 155
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready