From 0e94ff32c1a86ee01c859ef00df4ec12d4b84151 Mon Sep 17 00:00:00 2001 From: mo8it Date: Mon, 14 Aug 2023 04:43:07 +0200 Subject: [PATCH] Add nginx config --- nginx.conf | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 nginx.conf diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..3d574f6 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,36 @@ +user nginx; +worker_processes auto; + +error_log /var/log/nginx/error.log error; + +events { + worker_connections 1024; +} + +http { + charset utf-8; + + access_log off; + log_not_found off; + + sendfile on; + tcp_nopush on; + tcp_nodelay on; + + gzip on; + + server_tokens off; + + include /etc/nginx/mime.types; + default_type application/octet-stream; + + server { + root /usr/share/nginx/html; + index index.html; + + location / { + } + + error_page 404 /404.html; + } +}