Using Public IP for NGINX server

2019-01-31 Thread Jeffrey Gilgenbach
I am currently evaluating migrating my current BIGIP configuration to NGINX. I'm completely aware that not all configuration will translate 1:1, however I am looking to see if anyone has suggestions where I am stuck and if it's possible to do. I currently have a routable network setup between

Nginx access log query string params per line.

2019-01-31 Thread c0nw0nk
So with the following. logformat qs "$remote_addr $args"; server { server_name NAME; access_log /path/to/log qs; location / { root /path/to/root; } } If i go to url /index.php?query1=param1&query2=param2 The access.log file shows quer

Matching & Acting upon Headers received from Upstream with proxy_pass

2019-01-31 Thread Alec Muffett
Hello All! I'm running a reverse proxy and I want to trap when upstream is sending me: Content-Encoding: gzip ...and on those occasions return (probably) 406 downstream to the client; the reason for this is that I am always using: proxy_set_header Accept-Encoding "identity"; ...so the upst