Re: Howto Remove the Cache-Control request header.

2021-01-16 Thread Francis Daly
On Sat, Jan 16, 2021 at 07:11:54PM +0100, Vincent Blondel wrote: Hi there, > We want nginx to remove the request header Cache-Control before to proxy > the request to the OCS. > We do like this ... 'proxy_set_header Cache-Control "";' appears to work for me. Can you show one request to nginx wi

Re: Howto Remove the Cache-Control request header.

2021-01-16 Thread Vincent Blondel
Thank You for the swift response Thomas. AFAICS, proxy_ignore_headers is to disable processing of certain response header fields from the proxied server. This is what I can find on nginx website doc. We want the request Cache-Control header to not be proxied to the OCS. -V On Sat, Jan 16, 2021 at

Re: Howto Remove the Cache-Control request header.

2021-01-16 Thread Thomas Ward
proxy_ignore_headers Cache-Control; ⁣Get BlueMail for Android ​ Original Message From: Vincent Blondel Sent: Sat Jan 16 13:11:54 EST 2021 To: nginx@nginx.org Subject: Howto Remove the Cache-Control request header. Hello, We want nginx to remove the request header Cache-Contro

Howto Remove the Cache-Control request header.

2021-01-16 Thread Vincent Blondel
Hello, We want nginx to remove the request header Cache-Control before to proxy the request to the OCS. We do like this ... location /xxx { more_set_headers 'Strict-Transport-Security: max-age=31622400; includeSubDomains'; more_set_headers 'X-XSS-Protection: 1; mode=block';