From 2548b3fcb07c2a89a2658fe3eb5ea79a928ae8f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lie=20Bouttier?= Date: Tue, 12 Sep 2023 17:13:25 +0200 Subject: [PATCH] add trailing / in nginx alias config This is necessary to serve GeoNature without prefix, and still compatible with a prefix. --- frontend/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 4a390a8ed6..2d255d6a1a 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -3,7 +3,7 @@ server { server_name ${NGINX_HOST}; location ${NGINX_LOCATION} { - alias /usr/share/nginx/html; + alias /usr/share/nginx/html/; index index.html index.htm; } }