Re: nginx ignoring config file when started via systemd

2015-12-07 Thread mex
hi daniel, hiw did you installed nginx, manually (self-compiled) or through your distratos repo? can you provide the nginx -V - output? usually /etc/nginx/nginx.conf is the default-config, if not given; nginx -V will tell what defaults arre used in your config. cheers, mex Posted at Nginx

nginx ignoring config file when started via systemd

2015-12-07 Thread theheadsage
Hi Guys, Got a somewhat interesting bug with nginx, which is where my config is being ignored by nginx when it's started via systemd. Here's the config: server { listen 80 default_server; listen [::]:80 default_server; server_name _; location /no

location ^~ modifier

2015-12-07 Thread B.R.
Hello, I got kind of a newbie question: Does the ^~ location modifier finds a matching string at the start of an URI? I naively thought it was just a variant of the classic prefix search, without any constraint on the placement of the matched string in an URI. Is there a simple way of matching t

Re: HTTP/2 stable status

2015-12-07 Thread George
yup very stable for me on 1.9.7 + HTTP/2 + ngx_pagespeed :) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263313,263337#msg-263337 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: HTTP/2 stable status

2015-12-07 Thread Barry Abrahamson
Yes, it's stable. We are running it on WordPress.com serving many hundreds of thousands req/sec. > On Dec 7, 2015, at 5:22 AM, Martin Wolfert wrote: > > Hey, > > has anyone experiences with nginx 1.9.7 and http/2 in pruduction > environments? > Means: is http/2 stable in 1.9.7 ? > > Best,

Re: output_buffers value breaks thread_pool/aio on 1.9.5+

2015-12-07 Thread Richard Kearsley
Hi Valentin Thanks for looking, I looked further and found that the cause is enabling (any) "body_filter_by_lua_file" script from lua module while aio and multiple output_buffers are set I'll send the report over to agentzh instead Thanks Richard On 07/12/15 14:05, Valentin V. Bartenev wrote:

Optional SSL on same port, or access control/log with stream protocol.

2015-12-07 Thread Daniël Mostertman
Hi! I'm running an HTTP-based application (Plex) that decides whether or not to use SSL based on what the client decides to talk to it. I would like to be able to control what it does and who's able to connect to it a bit more, and I'd like to do that with nginx. I've tried disabling all SSL, whi

Re: output_buffers value breaks thread_pool/aio on 1.9.5+

2015-12-07 Thread Valentin V. Bartenev
On Sunday 06 December 2015 01:28:15 Richard Kearsley wrote: > Hi > Since 1.9.5, > *) Change: now the "output_buffers" directive uses two buffers by default. > > The two buffers do not work with thread_pool/aio, the connection is > closed at 32,768 bytes (size of one buffer) I've just tested and

Re: IPv6, HTTPS, and SNI

2015-12-07 Thread A. Schulze
Nikolai Lusan: In theory ipv6 shouldn't make a difference, and it sure as heck doesn't make a difference to the ipv4 configuration. Maybe not what you expect/like to hear: Why does my head hurt if I run against a wall? -> simply don't do that. IPv6 is more then IPv4 with longer addresses.

Re: IPv6, HTTPS, and SNI

2015-12-07 Thread Maxim Dounin
Hello! On Mon, Dec 07, 2015 at 06:32:32AM -0500, itpp2012 wrote: > I seem to recall that with ipv6 you can't mix 80 with 443 in one server > configuration, but I might be wrong here. You recall it incorrectly. -- Maxim Dounin http://nginx.org/ ___ n

Re: IPv6, HTTPS, and SNI

2015-12-07 Thread Maxim Dounin
Hello! On Mon, Dec 07, 2015 at 01:16:06PM +0100, Lukas Tribus wrote: > > listen 80; > > Afaik this will make nginx listen to both IPv4 and IPv6 family. > > Specify the real IPv4 adress you want to listen to, to avoid the IPv6 bind. No, just a port means IPv4 wildcard address. > > listen [::]:

Re: IPv6, HTTPS, and SNI

2015-12-07 Thread Maxim Dounin
Hello! On Mon, Dec 07, 2015 at 08:00:40PM +1000, Nikolai Lusan wrote: > I am having in issue using https with multiple sites on ipv6 (nominally > SNI). If I declare more than one listen directive for ipv6 on port 443 > nginx refuses to start. The ipv4 configuration is fine, it's only an > issue w

RE: IPv6, HTTPS, and SNI

2015-12-07 Thread Lukas Tribus
Hi, > listen 80; Afaik this will make nginx listen to both IPv4 and IPv6 family. Specify the real IPv4 adress you want to listen to, to avoid the IPv6 bind. > listen [::]:80; This will make nginx to listen to both IPv6 and IPv4 family. Specify ipv6only=on [1] as a keyword to avoid the IPv

Re: IPv6, HTTPS, and SNI

2015-12-07 Thread itpp2012
I seem to recall that with ipv6 you can't mix 80 with 443 in one server configuration, but I might be wrong here. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263315,263317#msg-263317 ___ nginx mailing list nginx@nginx.org http://mailman.n

Can we limit a ngnix website bandwidth to 2 gb per day

2015-12-07 Thread pankaj.sain
→Can we limit a website bandwidth (i.e. 2 GB per day) I'm running multiple website on a single webserver, one of these is heavily accessed and consuming huge bandwidth and due to this other websites unnecessarily suffered. ​​Any insight will be helpful. ​​ Thanks, Posted at Nginx Forum: https://

IPv6, HTTPS, and SNI

2015-12-07 Thread Nikolai Lusan
Hi, I am having in issue using https with multiple sites on ipv6 (nominally SNI). If I declare more than one listen directive for ipv6 on port 443 nginx refuses to start. The ipv4 configuration is fine, it's only an issue with ipv6. Nginx details:   nginx version: nginx/1.9.7   built by gcc 4.9.