Welcome! Log In Create A New Profile

Advanced

How to log internal location evaluation

Nikolaos Milas
January 19, 2017 11:50AM
Hello,

I am running nginx 1.10.2 on CentOS 6.

I am trying to configure a new (virtual) website and I am having
problems. I would like to be able to log details of the evaluation of
URIs in location blocks by nginx.

For example, I would like to see in a log:

* which location block (actually which part of the configuration) was
used to evaluate a URI
* if an alias is used in a location block, what was the path that was
calculated using the alias
* in rewrite scenarios, how was a URI rewritten

The above info would help me understand where I am in error.

Can I get such info by using some config settings? Please let me know!

Thanks in advance,
Nick

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to log internal location evaluation

Nikolaos Milas January 19, 2017 11:50AM

Re: How to log internal location evaluation

pbooth January 19, 2017 03:32PM

Re: How to log internal location evaluation

Nikolaos Milas January 20, 2017 04:18AM

Re: How to log internal location evaluation

Nikolaos Milas January 20, 2017 04:08PM

Re: How to log internal location evaluation

pbooth January 20, 2017 04:42PM

Re: How to log internal location evaluation

Nikolaos Milas January 20, 2017 05:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 164
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready