From d27d54e52a1261f7e862e97da74124798977a923 Mon Sep 17 00:00:00 2001 From: Aitte Date: Sun, 24 Feb 2013 15:44:12 -0500 Subject: [PATCH] nginx.conf: repair broken log format (someone had swapped two variables around, breaking the intended apache log format compatibility) Conflicts: nginx/nginx.conf --- nginx/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index f881b3e..f1b7b04 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -38,10 +38,10 @@ http { include /etc/nginx/mime.types; default_type application/octet-stream; - # Format for our log files - log_format main '$remote_addr - $remote_user [$time_local] $status ' - '"$request" $body_bytes_sent "$http_referer" ' - '"$http_user_agent" "$http_x_forwarded_for"'; + # Format to use in log files + log_format main '$remote_addr - $remote_user [$time_local] "$request" ' + '$status $body_bytes_sent "$http_referer" ' + '"$http_user_agent" "$http_x_forwarded_for"'; # Default log file # (this is only used when you don't override access_log on a server{} level)