Here's the capture from the FF plugin Live HTTP headers, as you can see it's the same Location: redirect as when I post /somesite/login directly to the "backend". - http://192.168.1.100/somesite/login - POST /somesite/login HTTP/1.1 Host: 192.168.1.100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.15) Gecko/2009102815 Ubuntu/9.04 (jaunty) Firefox/3.0.15 Accept: teby 3molo - Nginx Mailing List - English
Thanks alot for your help, Igor. server_name already is 192.168.1.100; Here's my complete config: user www-data www-data; worker_processes 1; error_log logs/error.log; pid logs/nginx.pid; worker_rlimit_nofile 8192; events { worker_connections 4096; } http { include /etc/nginx/mime.types; ## Proxy options proxy_buffering on; proxy_cacby 3molo - Nginx Mailing List - English
my nginx is http://192.168.1.100:80 btwby 3molo - Nginx Mailing List - English
I think I might put it in incorrect place; location /somesite { proxy_redirect http://dev.somesite.co.za:8001/ /; proxy_pass http://192.168.1.9:8001/somesite; } Still the same Location header thouby 3molo - Nginx Mailing List - English
Hi. Running nginx as a reverse proxy for trac. Reaching trac etc works, but when posting login credentials, trac returns a Location: header as seen below. POST /somesite/login HTTP/1.1 Host: dev.somesite.co.za:8001 Referer: http://dev.somesite.co.za:8001/somesite/login __FORM_TOKEN=ec42989d17edbcdec96290d6&referer=http%3A%2F%2Fdev.somesite.co.za%3A8001%2Fsomesite&user=user&pasby 3molo - Nginx Mailing List - English