Location url start with modifier, nginx -t pass the configuration test

2017-02-09 Thread linbo liao
Hi, I setup an test Nginx 1.10.3 on local VM (Centos 6.7 x86_64). I configure the following location location =/404.html { root/usr/share/nginx/html; } As my understanding, it is not an valid url, but `nginx -t` pass the configuration test. Is it a bug ? ___

RE: Request_Id Variable unknown?

2017-02-09 Thread Cox, Eric S
$request_id unique request identifier generated from 16 random bytes, in hexadecimal (1.11.0) You need at least version 1.11.0 -Original Message- From: iridude--- via nginx [nginx@nginx.org] Received: Thursday, 09 Feb 2017, 11:54PM To: nginx@nginx.org [nginx@nginx.org] CC: irid...@aol.co

Request_Id Variable unknown?

2017-02-09 Thread iridude--- via nginx
I am using Nginx version 1.10.2 and get the following error: Unknown “request_id” variable This is in nginx.conf: Log_format main ‘$remote_addr - $remote_user [$time_local] “$request” $status $body_bytes_sent “$http_referer” “$http_user_agent” - $request_id’; Sent from Mail for Windows 10

Behavior of realip module with this config

2017-02-09 Thread Paul Nickerson
I've got the config below. I don't have these settings reconfigured anywhere else. My understanding is that no matter anything else at all anywhere else, and no matter whether the X-Forwarded-For field in the HTTP header has one or multiple IP addresses, or isn't even present, $remote_addr will not

Re: Cache based on custom header

2017-02-09 Thread Chad Hansen via nginx
Thanks! What part of openresty supplies that? For instance, it includes more-set-headers: if I include that, could i rewrite the incoming cache-related headers before cache layer processes them? On Wed, Feb 8, 2017 at 7:10 PM Peter Booth wrote: > Yes you can. For some subtle custom cache logic I

Re: SSL Offloading in UDP load

2017-02-09 Thread Maxim Konovalov
Hello, On 1/13/17 10:46 PM, Maxim Konovalov wrote: > On 1/13/17 12:51 PM, nginxsantos wrote: >> Thanks Maxim. >> I am looking for a scenario to load balance the LWM2M server (my backend >> servers would be LWM2M Servers). I am thinking of using the Nginx UDP >> loadbalancer for this. Now, if you l