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;