From 8ff1ad560633d3121ddf1b368d7c4ce778612470 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Tue, 25 Jul 2017 10:20:30 +0200 Subject: [PATCH] Log full request line --- etc/nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index 6580b2f..e17eb33 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -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;