From 9115dbf04bc20ca99f921d3084100b18671f727d Mon Sep 17 00:00:00 2001 From: dimitri Date: Mon, 9 Jun 2025 23:22:48 +0200 Subject: [PATCH] Ajouter glpi/nginx.conf --- glpi/nginx.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 glpi/nginx.conf diff --git a/glpi/nginx.conf b/glpi/nginx.conf new file mode 100644 index 0000000..f2b4fcc --- /dev/null +++ b/glpi/nginx.conf @@ -0,0 +1,24 @@ +user nginx; +worker_processes auto; +error_log /var/log/nginx/error.log warn; +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; + keepalive_timeout 65; + + include /etc/nginx/conf.d/*.conf; +} \ No newline at end of file