proxy_pass for subfolders

2016-10-14 Thread avk
Hi! Can you help? How use proxy_pass (or other methods) for proxy subfolder-requests? Example: site1.ltd/folder1 -> proxy to site2.ltd/app Thx! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270269,270269#msg-270269 ___ nginx mailing list n

Re: proxy_pass for subfolders

2016-10-14 Thread avk
Thank you for reply, but not working. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270269,270278#msg-270278 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: proxy_pass for subfolders

2016-10-17 Thread avk
>From proxy server : 2016/10/17 14:19:38 [error] 6735#6735: *236 open() "/var/lib/nginx/html/01" failed (2: No such file or directory), client:ip, server: localhost, request: "GET /01 HTTP/1.1" >From srv1 & srv2: - [17/Oct/2016:14:16:47 +] "GET /123456 HTTP/1.1" 301 185 "-" "Mozilla/5.