URL rewrite plus proxy pass problem
Roxis
roxis at list.ru
Tue Jul 31 00:55:40 MSD 2007
On Monday 30 July 2007, Toby DiPasquale wrote:
> location /path/ {
> rewrite ^/path/(.*)$ $1 break;
> proxy_pass http://127.0.0.1:8080;
> }
>
> However, when I click on an href="/path" link, I am sent back to the
> index page. Why is it not proxying the rewritten URL back to the
> instance on port 8080? How can I make it do that? Thanks for all your
> help.
"/path" is not "/path/"
More information about the nginx
mailing list