From 397eaec2b2d22ac83d50eb550ef853bee7139f2f Mon Sep 17 00:00:00 2001 From: lenape Date: Tue, 6 May 2025 01:19:09 +0000 Subject: [PATCH] Update 'your_config_file.conf' --- your_config_file.conf | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/your_config_file.conf b/your_config_file.conf index 4f8cd91..ec1eec0 100644 --- a/your_config_file.conf +++ b/your_config_file.conf @@ -1 +1,38 @@ -# bullshit for right now +user nginx; +worker_processes auto; + +error_log /var/log/nginx/error.log notice; +pid /var/run/nginx.pid; + + +events { + worker_connections 10240; +} +worker_rlimit_nofile 20480; + + +http { + client_max_body_size 1024M; + 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; +} + +include /etc/nginx/toplevel.conf.d/*.conf; + + +