From 9da00fe590de9ae5e15e7396002685235d884fe8 Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Sat, 22 Aug 2026 20:52:51 +0000 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"baikal/rootfs/etc/nginx"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- baikal/rootfs/etc/nginx/nginx.conf | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 baikal/rootfs/etc/nginx/nginx.conf diff --git a/baikal/rootfs/etc/nginx/nginx.conf b/baikal/rootfs/etc/nginx/nginx.conf new file mode 100644 index 0000000..f0fa24c --- /dev/null +++ b/baikal/rootfs/etc/nginx/nginx.conf @@ -0,0 +1,46 @@ +# Run nginx in foreground. +daemon off; + +# This is run inside Docker. +user root; + +# Pid storage location. +pid /var/run/nginx.pid; + +# Set number of worker processes. +worker_processes 1; + +# Enables the use of JIT for regular expressions to speed-up their processing. +pcre_jit on; + +# Write error log to the add-on log. +error_log /proc/1/fd/1 error; + +# Load dynamic modules. +include /etc/nginx/modules/*.conf; + +# Max num of simultaneous connections by a worker process. +events { + worker_connections 512; +} + +http { + include /etc/nginx/includes/mime.types; + + access_log off; + client_max_body_size 4G; + default_type application/octet-stream; + gzip on; + keepalive_timeout 65; + sendfile on; + server_tokens off; + tcp_nodelay on; + tcp_nopush on; + + map $http_upgrade $connection_upgrade { + default upgrade; + '' close; + } + + include /etc/nginx/servers/*.conf; +}