nginx as the proxy that provides client certificate and faced connection attempt failed talk to upstream server

2016-07-07 Thread Jason/Jiesheng Wei
Hey, I'm using nginx for windows as a reverse proxy to upstream server. The upstream server requires client certificate and thus in the nginx config, I put the following: location / { proxy_ssl_certificate_key cert.key; proxy_ssl_certificate cert.crt; proxy_pas

Re: Rewrite Rules from apache

2016-07-07 Thread Daniel
Same issue. All images CSS Files and so on are not loaded :( > Am 07.07.2016 um 19:19 schrieb praty...@hostindya.com: > > July 7 2016 10:19 PM, "Daniel" wrote: >> Hi Everyone, >> >> i try to convert some rules from apache htaccess to nginx. >> >> This is my htaccess Rule: >> >> RewriteCond

Re: Rewrite Rules from apache

2016-07-07 Thread pratyush
July 7 2016 10:19 PM, "Daniel" wrote: > Hi Everyone, > > i try to convert some rules from apache htaccess to nginx. > > This is my htaccess Rule: > > RewriteCond %{DOCUMENT_ROOT}/$3 -f > RewriteRule ^(.*?)/(.*?)/(.*)$ /$3 > > I tried these options but it seems not working: > > if (-f $documen

Rewrite Rules from apache

2016-07-07 Thread Daniel
Hi Everyone, i try to convert some rules from apache htaccess to nginx. This is my htaccess Rule: RewriteCond %{DOCUMENT_ROOT}/$3 -f RewriteRule ^(.*?)/(.*?)/(.*)$ /$3 I tried these options but it seems not working: if (-f $document_root/$3){ set $rule_0 1$rule_0; } if ($rule_0 = "1"

Re: How to leverage HTTP upstream features

2016-07-07 Thread Charles Orth
Thanks Maxim, The loopback feature you described is the work around we're using. However, the new service I'm attempting to implement, it is costly on several fronts. My impression of reimplementation of upstream was what I was suspecting all along. Thanks Maxim Dounin wrote: Hello! On Tue