From b377247a44384fb419d8b12a4e43531dcdc710eb Mon Sep 17 00:00:00 2001 From: Fr4nzD13trich Date: Thu, 2 Oct 2025 14:43:53 +0200 Subject: [PATCH] nginx conf added --- nginx/default.conf | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 nginx/default.conf diff --git a/nginx/default.conf b/nginx/default.conf new file mode 100644 index 0000000..7a5f110 --- /dev/null +++ b/nginx/default.conf @@ -0,0 +1,42 @@ +server { + listen 8080; + server_name localhost; + + root /usr/share/nginx/html; + index index.html index.htm; + + location / { + try_files $uri $uri/ =404; + } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + internal; + } + + location ~ /\.ht { + deny all; + } + + gzip on; + gzip_disable "msie6"; + + gzip_vary on; + gzip_proxied any; + gzip_comp_level 6; + gzip_buffers 16 8k; + gzip_http_version 1.1; + gzip_types + text/plain + text/css + text/xml + text/javascript + application/javascript + application/x-javascript + application/json + application/xml + application/xml+rss + font/ttf + font/otf + image/svg+xml; +}