mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Update nginx.conf
This commit is contained in:
parent
20ecdbc9a2
commit
e2602fdade
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue