Re: Convert .htaccess to nginx rules

2018-01-09 Thread ThanksDude
Thanks @Anoop Alias However I tried it and unfortunately it didn't worked. What reason can it be? I'm running latest nginx (1.13.8) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,278046,278060#msg-278060 ___ nginx mailing list nginx@nginx

Re: 504 gateway timeouts

2018-01-09 Thread Aziz Rozyev
Hi Wade, At least provide the access/error log fragments, curl -ivvv <..> outputs directly to the 3rd party service and via the nginx, jmeter (if you use that) outputs would make sense. Also, it would be nice to compare nginx configurations from the mac and linux. Currently it’s barely possible

Re: upstream (tcp stream mode) doesn't detect connecton failure

2018-01-09 Thread Adam Cecile
On 01/09/2018 02:46 PM, Maxim Dounin wrote: Hello! On Mon, Jan 08, 2018 at 12:37:41PM +, Cecile, Adam wrote: Hello, I'm using this quite complicated setup involving SNI routing and proxy_protocol but I'm stuck on something. Here is the configuration file: http://paste.debian.net/hidd

Re: 504 gateway timeouts

2018-01-09 Thread Peter Booth
Wade, This reminds me of something I once saw with an application that was making web service requests to FedEx. So are you saying that the response times are bimodal? That you either get a remote response within a few seconds or the request takes more than 60 seconds, and that you have no 20s

Re: 504 gateway timeouts

2018-01-09 Thread Wade Girard
Hi nginx group, If anyone has any ides on this, they would be appreciated. Thanks On Fri, Jan 5, 2018 at 6:28 AM, Wade Girard wrote: > Hi Peter, > > Thank You. > > In my servlet I am making https requests to third party vendors to get > data from them. The requests typically take 4~5 seconds,

Re: Where can I find nginScript shell

2018-01-09 Thread Dmitry Volyntsev
On 07.01.2018 17:06, kimown wrote: I find the associated code, thanks for your help, but I'm not familiar with how to building the nginScript shell, I think it's better add instruction in README.Also, nginScript is really really awesome. It is available as a part of nginx official packages.

Re: Convert .htaccess to nginx rules

2018-01-09 Thread Anoop Alias
try_files $uri $uri/ /index.php; should work On Tue, Jan 9, 2018 at 7:10 PM, ThanksDude wrote: > hey guys > > I tried the tools and it didn't worked for me. > can u guys pls help me convert this to a nginx rules? > > > RewriteEngine On > > #RewriteCond %{HTTPS} off > #RewriteRule .* https://%{H

Re: OCSP stapling priming and logging

2018-01-09 Thread Maxim Dounin
Hello! On Mon, Jan 08, 2018 at 11:38:56PM +1300, Thomas Valentine wrote: >I've spent a bit of time setting up my server with SSL, and checking >for OCSP stapling to be working - couldn't work out why it wasn't >sending the OCSP reply but it's as I was querying the server as the >f

Re: upstream (tcp stream mode) doesn't detect connecton failure

2018-01-09 Thread Maxim Dounin
Hello! On Mon, Jan 08, 2018 at 12:37:41PM +, Cecile, Adam wrote: > Hello, > > > I'm using this quite complicated setup involving SNI routing and > proxy_protocol but I'm stuck on something. > > > Here is the configuration file: > > http://paste.debian.net/hidden/62e13f9c/ > > > Routin

Convert .htaccess to nginx rules

2018-01-09 Thread ThanksDude
hey guys I tried the tools and it didn't worked for me. can u guys pls help me convert this to a nginx rules? RewriteEngine On #RewriteCond %{HTTPS} off #RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] #RewriteCond %{HTTP_HOST} !^www\. #RewriteRule .* http://www.%{HTTP_HOST}%{REQUE