From dbb9fed9b6b4c9cbdcba039ea208e71a29b12171 Mon Sep 17 00:00:00 2001 From: Mehdi Benadel Date: Fri, 9 Feb 2024 11:15:57 +0100 Subject: [PATCH] attempt fix nginx permissions --- .../docker/templates/etc/nginx/nginx.conf | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 docker/nginx/root/docker/templates/etc/nginx/nginx.conf diff --git a/docker/nginx/root/docker/templates/etc/nginx/nginx.conf b/docker/nginx/root/docker/templates/etc/nginx/nginx.conf new file mode 100644 index 000000000..3c330fb39 --- /dev/null +++ b/docker/nginx/root/docker/templates/etc/nginx/nginx.conf @@ -0,0 +1,37 @@ +user www-data; +worker_processes auto; + +error_log /var/log/nginx/error.log notice; +pid /tmp/nginx.pid; + + +events { + worker_connections 1024; +} + + +http { + client_body_temp_path /tmp/client_temp; + proxy_temp_path /tmp/proxy_temp_path; + fastcgi_temp_path /tmp/fastcgi_temp; + uwsgi_temp_path /tmp/uwsgi_temp; + scgi_temp_path /tmp/scgi_temp; + + 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; +}