Re: How to log internal location evaluation

2017-01-20 Thread Nikolaos Milas
On 20/1/2017 11:41 μμ, Peter Booth wrote: But this link suggests otherwise:http://nginx.org/en/docs/debugging_log.html Wow! Didn't know about that! Indeed, my installation includes nginx-debug!! I've tried it and it works fine! My digging (in debugging) starts now Wish me a good underst

Re: How to log internal location evaluation

2017-01-20 Thread Peter Booth
I've always had to configure and build debug versions myself - and usually I want them to coexist in parallel with an existing production nginx install. But this link suggests otherwise: http://nginx.org/en/docs/debugging_log.html You'll be overwhelmed by the volume of output. It gave me a real

Re: How to log internal location evaluation

2017-01-20 Thread Nikolaos Milas
On 20/1/2017 11:16 πμ, Nikolaos Milas wrote: As I am on CentOS 6 and I am using the nginx repo, I have installed: nginx-1.10.2-1.el6.ngx.x86_64 nginx-debuginfo-1.10.2-1.el6.ngx.x86_64 I guess I should be OK with these? It seems I am not. :-( I tried "nginx -V" and I didn't see the re

Re: How to log internal location evaluation

2017-01-20 Thread Nikolaos Milas
On 19/1/2017 10:27 μμ, Peter Booth wrote: You can get all that and a lot, lot more if you build a debug enabled version of nginx Thank you Peter, As I am on CentOS 6 and I am using the nginx repo, I have installed: nginx-1.10.2-1.el6.ngx.x86_64 nginx-debuginfo-1.10.2-1.el6.ngx.x86_64

Re: How to log internal location evaluation

2017-01-19 Thread Peter Booth
You can get all that and a lot, lot more if you build a debug enabled version of nginx Sent from my iPhone > On Jan 19, 2017, at 11:49 AM, Nikolaos Milas wrote: > > 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

How to log internal location evaluation

2017-01-19 Thread Nikolaos Milas
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