From 60c3c4a3fa4761b13f1b2c22da3fb34f0657607d Mon Sep 17 00:00:00 2001 From: Vincent Guillet Date: Sat, 22 Nov 2025 16:35:59 +0000 Subject: [PATCH] Update client/nginx.conf --- client/nginx.conf | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/client/nginx.conf b/client/nginx.conf index ab4a703..22fcee0 100644 --- a/client/nginx.conf +++ b/client/nginx.conf @@ -1,19 +1,13 @@ server { listen 80; + listen [::]:80; + server_name _; root /usr/share/nginx/html; index index.html; - # Angular SPA : toutes les routes renvoient index.html location / { try_files $uri $uri/ /index.html; } - - # Optionnel : servir les assets statiques correctement - location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff2?)$ { - try_files $uri =404; - access_log off; - add_header Cache-Control "public, max-age=31536000, immutable"; - } } \ No newline at end of file