From 8bba5b970abd35cb42e93609368d129d7ae0f968 Mon Sep 17 00:00:00 2001 From: Kyllian Chabanon Date: Fri, 4 Apr 2025 16:28:55 +0200 Subject: [PATCH] Modification nginx.conf --- nginx.conf | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/nginx.conf b/nginx.conf index c352b77..eb1f868 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,14 +1,3 @@ -server { - listen 80; - server_name _; - root /usr/share/nginx/html; - - location /containers/kyllianchabanon-portfolio { - alias /usr/share/nginx/html; - try_files $uri $uri/ /index.html; - } - - location / { - try_files $uri $uri/ /index.html; - } -} \ No newline at end of file +location / { + try_files $uri /index.html; +}