Re: disable .php files uploads using php (php-fpm)

2016-08-29 Thread c0nw0nk
Christos Chatzaras Wrote: --- > Is any way to get the body of a php post upload to match using regex > the filename of a php upload? I want to block file uploads with .php > extension. I found that I can do it with nasxi but I want to see if I > c

Re: How to disable request pipelining on nginx upstream

2016-08-29 Thread hkahlouche
Hello, > I'm talking about upstream server, not the "server" directive in > the "upstream" block. Assuming you are using nginx as an upstream > server you should use keepalive_requests. We are not using nginx on the upstream side (we have some legacy server), this is why I was looking for keepa

Re: How to disable request pipelining on nginx upstream

2016-08-29 Thread Maxim Dounin
Hello! On Mon, Aug 29, 2016 at 12:23:34PM -0400, hkahlouche wrote: > > Yes, nginx will process requests one-by-one and won't pipeline > > requests to upstream. > > So, you confirm that the current implementation of nginx doesn't pipeline > towards upstream, and there is no way to enable that fu

Re: How to disable request pipelining on nginx upstream

2016-08-29 Thread hkahlouche
> Yes, nginx will process requests one-by-one and won't pipeline > requests to upstream. So, you confirm that the current implementation of nginx doesn't pipeline towards upstream, and there is no way to enable that functionality? > No, it's not something currently implemented. It's not conside

Re: How to disable request pipelining on nginx upstream

2016-08-29 Thread Phani Sreenivasa Prasad
Hi I have a question the other way. how to enable pipelining on upstream side? or atleast how to make nginx open multiple loopack connections to serve requests pipelined from client side? Thanks Prasad. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269248,269272#msg-269272 _

Re: How to disable request pipelining on nginx upstream

2016-08-29 Thread Maxim Dounin
Hello! On Mon, Aug 29, 2016 at 10:04:08AM -0400, hkahlouche wrote: > Thanks for your prompt response. > Let's a client is sending pipelined requests on the client side and nginx > has multiple upstream keepalive connections. > Are you saying that NGINX will NOT pipeline on upstream side even thou

Re: How to disable request pipelining on nginx upstream

2016-08-29 Thread hkahlouche
Thanks for your prompt response. Let's a client is sending pipelined requests on the client side and nginx has multiple upstream keepalive connections. Are you saying that NGINX will NOT pipeline on upstream side even though it is receiving pipelined requests on client side? Is there a way to clos

Re: Request Compression

2016-08-29 Thread Richard Stanway
There is no standard for request compression. HTTP 2 has header compression built in, but if you want to compress request bodies, you have to devise your own solution. On Mon, Aug 29, 2016 at 5:22 AM, serendipity30 wrote: > Anyone has used this? Is gzip_static used for request compression? > > T

Re: Nginx SNI and Letsencrypt on FreeBSD; Wrong certificate?

2016-08-29 Thread Maxim Dounin
Hello! On Mon, Aug 29, 2016 at 04:03:10AM -0400, NuLL3rr0r wrote: [...] > So make the long story short; The problem is no matter what I do nginx > stubbornly serve's the wrong cert: > > $ curl --insecure -v https://babaei.net 2>&1 | awk 'BEGIN { cert=0 } > /^\* Server certificate:/ { cert=1

Re: NGINX SSL configuration

2016-08-29 Thread henry_nginx_profile
thank you very much. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269177,269265#msg-269265 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Nginx SNI and Letsencrypt on FreeBSD; Wrong certificate?

2016-08-29 Thread NuLL3rr0r
Hi there, I have a VPS with 14 domains and I setup letskencrypt to automatically retrieve a separate certificate for each domain with all sub-domains included. So, I have 14 certs. Obviously, putting all domains in one cert is not an option because soon I'll hit the maximum 100 domain/sub-domain p