Re: limit_except - require trusted ip AND auth vs. ip OR auth

2019-06-21 Thread Matthias Müller
Hi Maxim, works like a charm! Thanks, Matthias Am Mittwoch, den 19.06.2019, 15:33 +0300 schrieb Maxim Dounin: > Hello! > > On Tue, Jun 18, 2019 at 04:41:51PM +0200, Matthias Müller wrote: > > > I would like to constrain HTTP access (PUT, POST) to an NGINX > > server &g

limit_except - require trusted ip AND auth vs. ip OR auth

2019-06-18 Thread Matthias Müller
I would like to constrain HTTP access (PUT, POST) to an NGINX server for specific locations. There are two cases: 1) Permit POST, PUT if the request matches a trusted IP address OR Basic auth credentials (either-or) 2) Permit POST, PUT if the request matches a trusted IP address AND Basic auth cr

Fully transparent gzip/deflate compression in a reverse proxy setup

2019-02-21 Thread Matthias Müller
When running NGINX as a reverse proxy (e.g. in front of an application server) I know how to switch on gzip/deflate from the documentation. What I am looking for is a *transparent* compression by NGINX, i.e. the proxied application server should be unaware that the original client request was aski