Order of execution of nginx filters

2016-07-04 Thread Raghavan, Gopal
Hi, I have the following three directives: location = /hello { hello_world; hola_mundo on; bonjour_monde on; } hello_world is an nginx handler module that provides content “hello world” hola_mundo and bonjour_monde are filters that add to the ch

Issue with KeepAlive

2016-07-04 Thread st.gabrielli
Hi all, I need help on managing KeepAlive on my nginx webservice. Seeing error logs seems that many keepalive HTTP request are discarded by Nginx. On client side this behaviour seems to be a timeout. This is my code: if(strlen(session->response) > 0) { b->pos = (u_char

Re: nginx not removing stream socket

2016-07-04 Thread Anoop Alias
ok just found this - https://trac.nginx.org/nginx/ticket/753 So shall i use SIGTERM instead of SIGQUIT in the systemd unit file? On Mon, Jul 4, 2016 at 7:05 PM, Anoop Alias wrote: > Hi, > > On CentOS7 . nginx is not removing the stream socket on shutdown > causing restarts to fail unless the soc

nginx not removing stream socket

2016-07-04 Thread Anoop Alias
Hi, On CentOS7 . nginx is not removing the stream socket on shutdown causing restarts to fail unless the socket file is manually removed. nginx process itself exit .But becase of the file not being removed nginx is unable to bind to the socket file on next start systemd unit file

Re: WebRTC and NGINX Reverse Proxy

2016-07-04 Thread Ben
Sounds fabulous. Thank Vintila ! On 04/07/2016 09:27, Mihai Vintila wrote: It works with something like this: location ^~ /webrtc/ { if ($my_https = "off") { return 301 https://$host$request_uri; } limit_conn conn 100; limit_req zone=basic burst=3000 nodelay; proxy

Re: SNI support for nginx

2016-07-04 Thread Pratyush Kumar
You have to point to individual certificates/key in server blocks. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: SNI support for nginx

2016-07-04 Thread Maxim Dounin
Hello! On Mon, Jul 04, 2016 at 06:31:02AM -0400, Sushma wrote: > I am relatively new to nginx. > I would like to setup multiple domains on the same port. Nginx has SNI > support enabled. > Do i have to still point to the right ssl certificate and ssl private in > each of server blocks using the

SNI support for nginx

2016-07-04 Thread Sushma
Hi, I am relatively new to nginx. I would like to setup multiple domains on the same port. Nginx has SNI support enabled. Do i have to still point to the right ssl certificate and ssl private in each of server blocks using the ssl_certificate directive? Or is there a way, nginx will be able to d

Re: WebRTC and NGINX Reverse Proxy

2016-07-04 Thread Mihai Vintila
It works with something like this: location ^~ /webrtc/ { if ($my_https = "off") { return 301 https://$host$request_uri; } limit_conn conn 100; limit_req zone=basic burst=3000 nodelay; proxy_pass http://backend; proxy_set_header X-Real-IP $remote_addr; proxy_r