nginx.conf: repair broken log format (someone had swapped two variables around, breaking the intended apache log format compatibility)
Conflicts: nginx/nginx.conf
This commit is contained in:
parent
a6bf5c3cd4
commit
d27d54e52a
|
@ -38,9 +38,9 @@ http {
|
||||||
include /etc/nginx/mime.types;
|
include /etc/nginx/mime.types;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
|
|
||||||
# Format for our log files
|
# Format to use in log files
|
||||||
log_format main '$remote_addr - $remote_user [$time_local] $status '
|
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||||
'"$request" $body_bytes_sent "$http_referer" '
|
'$status $body_bytes_sent "$http_referer" '
|
||||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||||
|
|
||||||
# Default log file
|
# Default log file
|
||||||
|
|
Loading…
Reference in New Issue