From 1aea4050e74c98b603a7535db5b167e262ace049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20Krau=C3=9Fer?= Date: Wed, 6 May 2026 19:23:51 +0200 Subject: [PATCH] bug fix nginx config --- website/nginx.conf | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/website/nginx.conf b/website/nginx.conf index 782cd60..fcd2c37 100644 --- a/website/nginx.conf +++ b/website/nginx.conf @@ -1,16 +1,11 @@ -http { - include mime.types; +server { + listen 80; + server_name localhost; - server { - listen 80; - root /usr/share/nginx/html; + root /usr/share/nginx/html; + index index.html; - index index.html; - - location / { - try_files $uri $uri/ /index.html; - } + location / { + try_files $uri $uri/ /index.html; } -} - -event {} \ No newline at end of file +} \ No newline at end of file