Welcome! Log In Create A New Profile

Advanced

Re: hide/strip set cookies on static files and howto use alias

Francis Daly
April 10, 2016 04:06AM
On Sat, Apr 09, 2016 at 09:16:33AM -0400, JoakimR wrote:

Hi there,

> Another Q

For ease of searching in future, it probably will be simpler if new
unrelated questions start new message threads, with a Subject: line that
is relevant.

> Hi do have this in my domain.conf
>
> location /admin {
> index index.php;
> access_log off;
> log_not_found off;
> expires 0;
> }
>
> but yet, everything is logged? do you have some kind of answer to this?

In nginx, a http request is logged in the location where it ends.

So your "everything" request is not finally handled in the location that
you show. (Or you've found a bug in nginx.)

If it is not clear to you which location{} is used for the request,
and what subrequest is made, and which location{} is used for that
subrequest; then possibly enabling the debug log on a test server will
help you track it.

Note - the debug log contains lots of information, most of which probably
counts as "noise" for the one specific thing you are trying to find.

f
--
Francis Daly francis@daoine.org

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

hide/strip set cookies on static files and howto use alias

JoakimR April 04, 2016 12:29PM

Re: hide/strip set cookies on static files and howto use alias

Francis Daly April 05, 2016 03:44AM

Re: hide/strip set cookies on static files and howto use alias

JoakimR April 08, 2016 05:06AM

Re: hide/strip set cookies on static files and howto use alias

Francis Daly April 08, 2016 05:16PM

Re: hide/strip set cookies on static files and howto use alias

JoakimR April 09, 2016 09:16AM

Re: hide/strip set cookies on static files and howto use alias

Francis Daly April 10, 2016 04:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 303
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready