summaryrefslogtreecommitdiffstats
path: root/nginx-conf/logging.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx-conf/logging.conf')
-rw-r--r--nginx-conf/logging.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/nginx-conf/logging.conf b/nginx-conf/logging.conf
new file mode 100644
index 0000000..d0e3d09
--- /dev/null
+++ b/nginx-conf/logging.conf
@@ -0,0 +1,6 @@
+log_format ddsoc '$remote_addr - $remote_user [$time_local] "$request" '
+ '$status $body_bytes_sent "$http_referer" '
+ '"$http_user_agent" "$http_x_forwarded_for"';
+
+access_log /dev/stdout ddsoc;
+error_log /dev/stderr info;