1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/moncycle_ynh.git synced 2024-09-03 19:46:16 +02:00
This commit is contained in:
Limezy 2024-01-31 12:09:54 +07:00
parent d6639ad3bb
commit b048da14c7

View file

@ -2,7 +2,7 @@
location __PATH__/ {
# Path to source
root __INSTALL_DIR__/;
alias __INSTALL_DIR__/;
# Deny access to hidden files and directories
location ~ ^/(.+/|)\.(?!well-known\/) {
@ -27,6 +27,7 @@ location __PATH__/ {
# Default indexes and catch-all
rewrite ^/(connexion|compte)$ /$1.html;
rewrite ^/api/([a-zA-Z0-9_]+)(\?.*)?$ /api/$1.php$2;
index index.php index.html;
try_files $uri $uri/ $uri.php?$args;