Всем привет,
вопрос по proxy_pass в случае указания uri. В документации не нашел
описания данного поведения, пытаюсь понять, что не так.
map $scheme $o_upstream {
"http" "http://o_up";
"https" "https://o_up_ssl";
}
в случае
location / {
proxy_pass $o_upstream/pp/;
на origin вижу неправильный uri
ip_address o "http" [18/May/2017:21:32:08 +0000] r:0.000 up:- "GET
/pp/ HTTP/1.0" 403 162 "-" "curl/7.42.1" "-"
в случае
location / {
proxy_pass https://o_up_ssl/pp/;
все работает хорошо
==> /var/log/nginx/o_access.log <==
ip_address o "https" [18/May/2017:21:31:29 +0000] r:0.000 up:- "GET
/pp/t.txt HTTP/1.0" 200 9 "-" "curl/7.42.1" "-"
в чем же отличие с точки зрения nginx? где в документации это отражено?
Спасибо
--
Best regards,
Vasil Mikhalenya
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru