summaryrefslogtreecommitdiffstats
path: root/nginx-conf/logging.conf
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-04-29 16:17:46 +0100
committerMatthew Lemon <y@yulqen.org>2024-04-29 16:17:46 +0100
commit63246f793907b42867bac93d304231d091b428ba (patch)
tree701cf3e626655033025f0f279ea59f0d92b90adc /nginx-conf/logging.conf
parent2f8290c497bc9f1198780c76e224c21acf79eb35 (diff)
Adding the template app nginx config
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;