Re: Add Header to cached response?

2018-09-10 Thread Maxim Dounin
Hello! On Mon, Sep 10, 2018 at 11:06:00AM -0700, Roger Fischer wrote: > is there a way to add a header to the cached response? > > I have used ngx_http_headers_module’s add_header directive, > which adds the header to the response at the time the response > is generated. > > What I would like

Add Header to cached response?

2018-09-10 Thread Roger Fischer
Hello, is there a way to add a header to the cached response? I have used ngx_http_headers_module’s add_header directive, which adds the header to the response at the time the response is generated. What I would like to do is to add a response header at the time when the upstream request is ma

Re: Ignore Certificate Errors

2018-09-10 Thread Roger Fischer
Hello, I eventually found out that the problem was a missing “proxy_ssl_server_name on;”. Without the Server Name Indication (SNI) in the TLS handshake, the server returns a certificate that causes this problem. I am also wondering if these days the default should be on. It seems that SNI is

Re: Config problems with Amplify

2018-09-10 Thread Palvelin Postmaster via nginx
> On 10 Sep 2018, at 16:27, Maxim Konovalov wrote: > > On 10/09/2018 16:19, Palvelin Postmaster via nginx wrote: >> What chat icon? Where? > > Please see on the screenshort attached. Facepalm myself :D -- Palvelin.fi Hostmaster postmas...@palvelin.fi __

Re: Nginx openssl Async mode support

2018-09-10 Thread Maxim Dounin
Hello! On Thu, Sep 06, 2018 at 05:28:01PM -0400, jeffin.joy wrote: > I am new to Nginx and I am developing a new OpenSSL Dynamic engine > which supports OpenSSL async mode. I have verified the async mode function > via speed command provided by OpenSSL. > > Now I need to integrate t

Re: Config problems with Amplify

2018-09-10 Thread Palvelin Postmaster via nginx
What chat icon? Where? > On 10 Sep 2018, at 15:45, Maxim Konovalov wrote: > > Hi Palvelin, > > it makes sense to open a support case -- click on a chat icon in the > bottom-right corner. > > On 10/09/2018 15:06, Palvelin Postmaster via nginx wrote: >> Hi, >> >> my nginx config hierarchy is:

Re: Config problems with Amplify

2018-09-10 Thread Maxim Konovalov
Hi Palvelin, it makes sense to open a support case -- click on a chat icon in the bottom-right corner. On 10/09/2018 15:06, Palvelin Postmaster via nginx wrote: > Hi, > > my nginx config hierarchy is: > > /etc/nginx/nginx.conf (commented out except for a single include directive of > /etc/ngin

Config problems with Amplify

2018-09-10 Thread Palvelin Postmaster via nginx
Hi, my nginx config hierarchy is: /etc/nginx/nginx.conf (commented out except for a single include directive of /etc/nginx/conf.d/*.conf) /etc/nginx/conf.d/default.conf (server-wider config directives and an include of /etc/nginx/sites-enabled/*.conf) /etc/nginx/sites-enabled/domainX.conf (mult

Re: Problem when reconfiguring Nginx for SSL with self-signed certificate

2018-09-10 Thread Francis Daly
On Sat, Sep 08, 2018 at 11:25:32PM -0400, Frank_Mascarell wrote: Hi there, > I found the problem. An update of Whitenoise to 4.0 where you must > change the shape of the configuration, caused that with my old configuration > the gunicorn service will throw errors. The rest is all right. > > http

Re: Will nginx return 502 without any log in certain case?

2018-09-10 Thread Maxim Dounin
Hello! On Fri, Sep 07, 2018 at 06:44:58AM -0400, Fumitaka Yanase wrote: > I have my nginx running on EC2(Amazon Linux) behind ALB (Load Balancer of > AWS). > Usually it works just fine but very rarely ALB receive 502 bad gateway form > the EC2 instance. > > I checked both access.log and error.l