Welcome! Log In Create A New Profile

Advanced

Re: Реверс прокси -- проблема с localhost

greenh
October 18, 2010 01:38PM
а почему бекенд не подвесить на localhost:80?

2010/10/18 dr.gigabit <nginx-forum@nginx.us>:
> Оставил
>    server {
>        listen       80;
>        proxy_pass                      http://localhost:8080/;
>        proxy_redirect   http://localhost:8080/    http://localhost/;
> }
>
> По адресу http://localhost:8080 находится
> редирект на http://localhost:8080/test
> Если захожу с локальной машины
> http://localhost, происходит редирект на
> http://localhost:8080/test  а не на http://localhost/test
> Работает ли proxy_redirect для динамических
> редиректов (как в apache mod_proxy) или только
> для статических, где нужно на каждый
> адрес редиректа прописывать
> соответствующую строку proxy_redirect ?
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?21,141917,141947#msg-141947
>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Реверс прокси -- проблема с localhost

dr.gigabit October 18, 2010 11:02AM

Re: Реверс прокси -- проблема с localhost

Maxim Dounin October 18, 2010 11:38AM

Re: Реверс прокси -- проблема с localhost

dr.gigabit October 18, 2010 12:19PM

Re: Реверс прокси -- проблема с localhost

greenh October 18, 2010 01:38PM

Re: Реверс прокси -- проблема с localhost

dr.gigabit October 18, 2010 02:00PM

Re: Реверс прокси -- проблема с localhost

greenh October 18, 2010 02:08PM

Re: Реверс прокси -- проблема с localhost

Maxim Dounin October 18, 2010 03:02PM

Re: Реверс прокси -- проблема с localhost

dr.gigabit October 19, 2010 05:49AM

Re: Реверс прокси -- проблема с localhost

Maxim Dounin October 19, 2010 02:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 190
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