Re: Trigger alternate response based on file presence or other URL response

2018-10-18 Thread dhallam
So i can see that I can do something like the maintenance mode example, e.g. if (-f $document_root/under_maintenance.html) { return 503; } Wondering if there is a way to use the URL endpoint to check. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,281639,281640#msg-281640 ___

Trigger alternate response based on file presence or other URL response

2018-10-18 Thread dhallam
Hi. I'll try to make this make sense. I have a few web applications that I can't change. They are behind an nginx+ loadbalancer. I have separate database state that indicates whether or not requests should be forwarded to the upstream, or a status page should be returned. There is a web service t

Re: SSL Client Certificate Validation

2018-03-27 Thread dhallam
Thank you. Please accept my apologies for not spotting that in the documentation. Many thanks. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279204,279206#msg-279206 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/l

SSL Client Certificate Validation

2018-03-27 Thread dhallam
Hi, I'm running nginx version: nginx/1.11.5 (nginx-plus-r11). I am trying to connect a tcp client (with client cert) over SSL to nginx, where the SSL will be validated and terminated, and then onto the upsteam server in the clear. I have the following configuration: stream { upstream ups