From e2602fdade6fdcf560e5641d1d60c843027defcc Mon Sep 17 00:00:00 2001 From: Limezy Date: Tue, 20 Feb 2024 22:32:03 +0700 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index bd9dca4..3eaaba4 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -26,6 +26,7 @@ location __PATH__/ { } # Default indexes and catch-all + rewrite ^/api/version /api/version.json; rewrite ^/(connexion|compte)$ /$1.php; rewrite ^/api/([a-zA-Z0-9_]+)(\?.*)?$ /api/$1.php$2; index index.php index.html;