proxy_pass bug

supeng nginx-forum at nginx.us
Sat Nov 14 18:16:36 MSK 2009


I have a tomcat server  bind localhost:8080, and my nginx 0.8.24's conf is 
======================================
... ...

    server {
        listen       80;
        server_name  localhost;

        location / {
		proxy_pass http://localhost:8080;
	}
    }
... ...
======================================
when I access http://mydomain/docs, the url will be redirected to http://localhost/docs. Of course, the url, http://mydomain/docs/ , is working correctly!

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,22840,22840#msg-22840






More information about the nginx mailing list