From acc6d33ccc34918dbed2de34ebd4e82adc662022 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Tue, 26 Sep 2023 15:06:54 +0200 Subject: [PATCH] remove regex --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 94d2c605..535c6e0d 100644 --- a/nginx.conf +++ b/nginx.conf @@ -2,8 +2,8 @@ server_tokens off; server { listen 8080; server_name localhost; - location /wiki/? { - alias /etc/nginx/html; + location /wiki/ { + alias /etc/nginx/html/; index index.html index.htm; } -- GitLab