nginx redirecting to wrong port

Dusan Turko lists at ruby-forum.com
Tue May 27 15:29:23 MSD 2008


> You may either fix Apache configuration or set in nginx:
> 
> -          proxy_redirect     off;
> +          proxy_redirect     http://www.mysite.com:8080/  /;

Thanks for your reply

1.)It helped just when I type http://www.mysite.com/test it shows a 
blank site (page does not exist) instead of redirect to 
http://www.mysite.com/test/

2.) I use more virtual hosts on the server so I tryed to set up
proxy_redirect     *:8080/  /;
and it does not work.

Any idea how to set it up in apache?
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list