Log full request line
This commit is contained in:
@ -42,7 +42,7 @@ http {
|
||||
##
|
||||
# Logging Settings
|
||||
##
|
||||
log_format custom '0.0.0.0 - $remote_user [$time_local] "$request_method $request_uri" $status $bytes_sent "$http_referer" "$http_user_agent"';
|
||||
log_format custom '0.0.0.0 - $remote_user [$time_local] "$request" $status $bytes_sent "$http_referer" "$http_user_agent"';
|
||||
access_log /var/log/nginx/access.log custom;
|
||||
error_log /var/log/nginx/error.log notice;
|
||||
log_not_found off;
|
||||
|
Reference in New Issue
Block a user