From abdcfb52d3fabf6ce6616a003e3eeefc64e6c340 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Tue, 21 Nov 2023 23:34:19 +0100 Subject: [PATCH] add try_files --- nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx.conf b/nginx.conf index 535c6e0d..703f8c0b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -5,6 +5,7 @@ server { location /wiki/ { alias /etc/nginx/html/; index index.html index.htm; + try_files $uri $uri/ /index.html; } error_page 500 502 503 504 /50x.html; -- GitLab