nginx latency/performance issues

2018-01-03 Thread Ameer Antar
Hello All, First time subscriber here, as I am new to using nginx. My question is about latency/performance issue as compared to our previously configured Apache server. Our web application is running on Apache + PHP-FPM, and we are planning on publishing a new site which contains only static file

Allow the usen of the "env" directive in contexts other than "main"

2018-01-03 Thread German Jaber
Hi folks, Is there a reason why the "env" directive is only allowed inside the "main" contexts? It would simplify many of my Docker deployments if I could do away with sed and envsubst and use the "env" directive directly. If the maintainers approve the inclusion of this feature in Nginx, I woul

Re: Too many workers conenction on udp stream

2018-01-03 Thread Maxim Dounin
Hello! On Tue, Jan 02, 2018 at 02:42:53PM -0300, Agus wrote: > Hi guys, > > I have an nginx proxying udp/streams to another proxy which handles the > connection to the backend. > > The same proxy proxying the udp streams to another proxy is working ok. > But when it proxies it to the other one,

Re: how do I run multiple https web sites on a single IP address

2018-01-03 Thread Francis Daly
On Wed, Jan 03, 2018 at 02:23:32PM -0500, Kurogane wrote: Hi there, > >Are you sure that a tool you're using to check supports SNI? > > What tool you're talking about? this error show in browser. In this case, the tool is "the browser". Which browser, which version? The aim here is to allow so

Re: how do I run multiple https web sites on a single IP address

2018-01-03 Thread Kurogane
>Are you sure that a tool you're using to check supports SNI? >wbr, Valentin V. Bartenev What tool you're talking about? this error show in browser. >Do you have four separate ssl certificate files, each of which is valid >for a single server name? >Or do you have one ssl certificate file which

Re: Regular expression length syntax not working?

2018-01-03 Thread jakewow
For those who are looking for the answer: > A regular expression containing the characters “{” and “}” should be quoted. So, his location directive: location ~ ^/event/[0-9,A-Z]{16}/info$ { proxy_pass http://localhost:; } Should look like this in order to work: location ~ "^/event/[0-

Re: Proxy Protocol for IMAP and POP3

2018-01-03 Thread Alexander Naumann
Hello, you could use "set_real_ip_from 'IP from LB';" http://nginx.org/en/docs/http/ngx_http_realip_module.html -- Alexander Naumann - Ursprüngliche Mail - Von: "idfariz" An: nginx@nginx.org Gesendet: Mittwoch, 3. Januar 2018 05:58:35 Betreff: Proxy Protocol for IMAP and POP3 Hel