Quantcast
Channel: Nginx Forum - Nginx Mailing List - Russian
Viewing all articles
Browse latest Browse all 3102

proxy_pass для location на другой сервер (6 replies)

$
0
0
Прошу не пинать сильно, но голова вскипела (может не внимательно читал).

nginx.conf дефолтный для Debian Wheezy

Суть задачи - проксировать определенный location на некий сервер с
Apache. Возможно ли такое?


Пробовал так:

location /server1 {
...
rewrite ^/server1(.*)$ $1 break;
proxy_pass http://server1.com;
...

}

не получилось.

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Viewing all articles
Browse latest Browse all 3102

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>