RE: having nginx listen the same port more than once

2017-02-12 Thread Reinis Rozitis
> I observe that the nginx runs with no error if there are duplicate listen > ports configured in the http server block or stream server block. is this behavior as expected? That is how every webserver capable of name based virtual hosts works. So yes it's normal and expected. > and if a reque

having nginx listen the same port more than once

2017-02-12 Thread he.hailong5
Hi, I observe that the nginx runs with no error if there are duplicate listen ports configured in the http server block or stream server block. is this behavior as expected? and if a request comes at such a port, which server would serve this request, by radomly or round-robin? Thank

Re: ssl_protocols & SNI

2017-02-12 Thread Maxim Dounin
Hello! On Fri, Feb 10, 2017 at 03:18:14PM -0800, Frank Liu wrote: > Thanks for explaining why overloading ssl_protocols won't work. Since the > problem is with how OpenSSL works, will it work if we use other openssl > alternatives? I see people reporting boringssl and libressl work fine with > ng

Re: Strange requests stalling inside nginx

2017-02-12 Thread Maxim Dounin
Hello! On Sat, Feb 11, 2017 at 04:06:29PM -0500, MichaelLogutov wrote: > Hello. > We have some strange issues when requests seems to stall inside nginx - in > nginx log we see that request took 1 second (and was terminated by client > timeout), while excactly the same request (we have special uni

Re: proxy_pass isnt loading required resources

2017-02-12 Thread Maxim Dounin
Hello! On Sat, Feb 11, 2017 at 09:15:51PM +0200, Georgi Minkov wrote: > Hello :) I`m having difficulties with configuring nginx to serve > different applications based on the location in header. I`m > successfully hit the index page but the additional resources are > not returned (404). Check

Re: Move from apacht to nginx

2017-02-12 Thread Jeff Dyke
There is an `allow all` in a location block, but i would recommend that you determine what part of All is really needed from your Apache config and apply only those rules that need to make the site work. I used apache in exactly this nature for a while and then dug in and found that i only needed

Move from apacht to nginx

2017-02-12 Thread Daniel
Hi there, i still moving from Apache to nginx. I have a config part in apache which i dont understand how to convert it correct to nginx. RewriteBase / Options FollowSymLinks AllowOverride All DirectoryIndex index.php