Problem with to multiple virtual hosts

2018-05-07 Thread auto
We use nginx for Hosting multiple hosts. We have haves mixes, some sites are only available at http:// and other sites are available with https:// We create a new config-file for every virtual hosts (domain) if there is a new customer with a new Homepage. All works correctly. Today we create 2 ne

Re: [EXT] Re: Connect to NGINX reverse proxy through proxy

2018-05-07 Thread Ajay Sonawane
Removing 'proxy_protocol' parameter fixed the problem. Thanks a lot. From: nginx on behalf of Roman Arutyunyan Sent: Monday, May 7, 2018 4:24:51 PM To: nginx@nginx.org Subject: Re: [EXT] Re: Connect to NGINX reverse proxy through proxy On Mon, May 07, 2018 at

Logging of mirror requests

2018-05-07 Thread Joe Doe
Hi, I have used ngx_http_mirror_module to create mirrors. I would like to log these requests as well? So in the /mirror location, I added access_log directive, but the log file was created, but no logs were produced. Is logging currently limited to only the original request? Best, Jay __

Re: Nginx OR for 2 differents location

2018-05-07 Thread Vincent
Hello, It works the same, thanks a lot. Cheers ;) Le 07/05/2018 à 15:03, Igor A. Ippolitov a écrit : Hello, You can try location ~ (render_img.php|^/url_rewriting.php$) {} Which should effectiv

Re: Packages for Ubuntu 18.04 "Bionic"?

2018-05-07 Thread Andrei Belov
Hi Moshe, > On 07 May 2018, at 19:12, Moshe Katz wrote: > > Hello, > > I see that the new Ubuntu 18.04 release has Nginx 1.14.0 > as its install version. > However, as new development progresses, I will want to be on the `mainline` > version on m

Packages for Ubuntu 18.04 "Bionic"?

2018-05-07 Thread Moshe Katz
Hello, I see that the new Ubuntu 18.04 release has Nginx 1.14.0 as its install version. However, as new development progresses, I will want to be on the `mainline` version on my servers. Right now, there is no official Nginx package support for 18.04,

Does NGINX support URI (http.ldap) based CRL (revokation lists) checks? or how to handle CRL valid for 7 days

2018-05-07 Thread joovunir
Hi, I know NGINX supports CRL in file format (PEM), but as the CRLs for my certificate provider is only valid for 7 days, and downloading the files, converting to PEM and so on is time consuming, I wonder if NGINX supports URI based CRLs. I haven't found any thing in the documentation... so in

Re: Nginx OR for 2 differents location

2018-05-07 Thread Igor A. Ippolitov
Hello, You can try location ~ (render_img.php|^/url_rewriting.php$) {} Which should effectively do the same On 07.05.2018 15:24, Vincent wrote: Hello, I have 2 location blocks like that: |location =/url_rewriting.php {| and location ~render_img.php {|| with exactly the same content

Nginx OR for 2 differents location

2018-05-07 Thread Vincent
Hello, I have 2 location blocks like that: location = /url_rewriting.php {   and location ~ render_img.php {   with exactly the same content. Is it possible to use an OR to have only one locatio

Re: [EXT] Re: Connect to NGINX reverse proxy through proxy

2018-05-07 Thread Roman Arutyunyan
On Mon, May 07, 2018 at 10:37:08AM +, Ajay Sonawane wrote: > >>For details it's better to look into error.log. > > Error log says "Broker header [some garbage chars] while reading PROXY > protocol, client: IPADDRESS, server:0.0.0.8443 This means the client (SQUID in your case) does not send

Re: [EXT] Re: Connect to NGINX reverse proxy through proxy

2018-05-07 Thread Ajay Sonawane
>>For details it's better to look into error.log. Error log says "Broker header [some garbage chars] while reading PROXY protocol, client: IPADDRESS, server:0.0.0.8443 From: nginx on behalf of Roman Arutyunyan Sent: Monday, May 7, 2018 3:55:59 PM To: nginx@ngin

Re: Connect to NGINX reverse proxy through proxy

2018-05-07 Thread Roman Arutyunyan
Hello, On Mon, May 07, 2018 at 05:15:34AM +, Ajay Sonawane wrote: > I am using NGINX as a HTTPS reverse proxy and load balancer. My clients are > able to connect to reverse proxy using SSL and reverse proxy is able to > terminate SSL connection and establish a new connection with backend ser