From 7c7cb547ba19822cbb860f993a890ec934576cc0 Mon Sep 17 00:00:00 2001 From: zino Date: Sun, 26 Nov 2023 22:50:37 +0100 Subject: [PATCH] modified --- volumes/nginx.conf | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 volumes/nginx.conf diff --git a/volumes/nginx.conf b/volumes/nginx.conf new file mode 100644 index 0000000..ee8c7fd --- /dev/null +++ b/volumes/nginx.conf @@ -0,0 +1,31 @@ +user nginx; +worker_processes auto; + +error_log /var/log/nginx/error.log notice; +pid /var/run/nginx.pid; + + +events { + worker_connections 1024; +} + + +http { + include /etc/nginx/mime.types; + default_type application/octet-stream; + + log_format main '$remote_addr - $remote_user [$time_local] "$request" ' + '$status $body_bytes_sent "$http_referer" ' + '"$http_user_agent" "$http_x_forwarded_for"'; + + access_log /var/log/nginx/access.log main; + + sendfile on; + #tcp_nopush on; + + keepalive_timeout 65; + + #gzip on; + + include /etc/nginx/conf.d/*.conf; +} \ No newline at end of file