summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2010-07-03 22:02:57 -0400
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2010-07-03 22:02:57 -0400
commit9c321907a9f755949c760f62703fb0d00e61e415 (patch)
tree7ecea9940363c390d41ba8b9b763f0e771eb7a9b /conf
parent69804274b58e3b59831bedbe50ff8618de784b88 (diff)
Updated log format
Diffstat (limited to 'conf')
-rw-r--r--conf/nginx.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf
index 306c6ee..4d54b39 100644
--- a/conf/nginx.conf
+++ b/conf/nginx.conf
@@ -10,8 +10,10 @@ events {
http {
include /etc/nginx/mime.types;
- access_log /home/dumpfmprod/prod/log/nginx/access.log;
-
+ log_format hyphen '$remote_addr | $time_local | '
+ '"$request" | $pipe | $status | $request_time | $content_length | $bytes_sent | $body_bytes_sent | '
+ '"$http_referer" | "$http_user_agent"';
+ access_log /home/dumpfmprod/prod/log/nginx/access.log hyphen;
sendfile on;
#tcp_nopush on;