Re: proxy_pass for subfolders

2016-10-14 Thread basti
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

Fastcgi_cache only caching 1 website

2016-10-14 Thread mrast
Hi, Im relativly new to the Linux world but am learning bloody quick (you have too, its unforgiving! :) ) I am setting up a new web server and im nearly ready to go live but cant iron out 1 last issue - and thats i have multiple wordpress websites setup. Each wordpress website has its own instal

Re: proxy_pass for subfolders

2016-10-14 Thread Francis Daly
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

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-14 Thread basti
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

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: NGINX not checking OCSP for revoked certificates

2016-10-14 Thread Zeal Vora
Oh. We have just one root CA and I downloaded the CRL file for that CA and used it in nginx. The depth is also 1. As soon as I put crl config in nginx, all request leads to HTTP 400 Bad Request . On Fri, Oct 14, 2016 at 2:20 PM, Alex Samad wrote: > What I had to do was sent the depth to the nu

Re: NGINX not checking OCSP for revoked certificates

2016-10-14 Thread Alex Samad
What I had to do was sent the depth to the number or greater than the number of ca's and I had to get all the crl's for each CA and concat into a crl file. On 14 October 2016 at 16:49, Zeal Vora wrote: > Thanks Maxim. > > I tried changing the ssl_verify_depth to 1 from value of 2 however still