Disabling logging of absolute paths
for-gmane at mutluit.com
Sat Jan 7 10:09:54 UTC 2012
Is there a switch to suppress the logging of absolute paths in the log files?
Only paths relative to the html directory should be logged.
Reason: I don't want disclose my file system structure when posting log excerpts to abuse desks etc.
2012/01/02 00:04:48 [error] 566#0: *966 open() "/bla/foo/nginx/html/admin/index.php" failed (2: No such file or directory), client: 220.127.116.11, server: localhost, request: "GET //admin/index.php HTTP/1.1", host: "x.200.43.136"
Ie. the "/bla/foo/nginx/html" part should not be logged.
More information about the nginx