>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.
Sorry, not working is not an error message, so nobody can help you.
Perhaps you *should* edit this example?
What have you try?
What is the error? What's in the access-/errorlog (srv1 and srv2)?
On 14.10.2016 16:28, avk wrote:
> Thank you for reply, but not working.
>
> Posted at Nginx Forum:
> ht
On Fri, Oct 14, 2016 at 06:53:48AM -0400, avk wrote:
Hi there,
> Hi! Can you help? How use proxy_pass (or other methods) for proxy
> subfolder-requests? Example: site1.ltd/folder1 -> proxy to site2.ltd/app
http://nginx.org/r/proxy_pass
Possibly the first bullet point after "A request URI is pa
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
Hello,
try somethink like
location /folder1/ {
rewrite /folder1/(.*)$ /app/$1 break;
proxy_pass http://site2.ltd;
proxy_redirect off;
// this is only for loging on site2 to see the ip of the user and not
the ip of proxy server
proxy_set_header Host $host;
proxy_s
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