I suggest you use the 'if' parameter of 2 access_log directive (>v1.7.0),
combined with 2 maps with reversed logic.
---
*B. R.*
On Sat, Jul 18, 2015 at 12:37 PM, Ben wrote:
> Hi,
>
> I'm using haproxy infront of some NGINX instances, but only for some
> instances which are being loadbalanced by
Hi,
Haven't used nginx in few years and trying to get it into production.
i'm having what will probably be a silly misconfiguration to most. I'm
running nginx
*nginx*-1.8.0-1.el7.ngx.x86_64
CentOS 7
with PHP-fpm
When I hit every PHP link on this site it generates some html and my
browser downloa
Nginx-Access-Plus is a Nginx module allows limiting access to certain http
request methods and client addresses. e.g.
location / {
allow_method all get|head;
allow_method 192.168.1.0/24 post|delete;
deny_method all all;
}
website : https://github.com/nginx-clojure/nginx-access-plus
Nginx-Access-Plus is a Nginx module allows limiting access to certain http
request methods and client addresses.
e.g.
location / {
allow_method all get|head;
allow_method 192.168.1.0/24 post|delete;
deny_method all all;
}
website : https://github.com/nginx-clojure/nginx-access-plu
Hi,
I'm using haproxy infront of some NGINX instances, but only for some
instances which are being loadbalanced by haproxy, there are other
instances which go straight through.
I realise I need to change the logging format in NGINX to enable
X-Forwarded-For in the access logs.
The question