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 2023-12-03 15:32:37 +07:00
parent e64aaae808
commit 66b8402f25
2 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,8 @@
** https://github.com/jean-io/moncycle.app ** https://github.com/jean-io/moncycle.app
*/ */
define("APP_URL", "__DOMAIN__/__PATH__");
define("DB_HOST", "localhost"); define("DB_HOST", "localhost");
define("DB_ID", "__DB_USER__"); define("DB_ID", "__DB_USER__");
define("DB_NAME", "__DB_NAME__"); define("DB_NAME", "__DB_NAME__");

View file

@ -26,7 +26,7 @@ location __PATH__/ {
} }
# Default indexes and catch-all # Default indexes and catch-all
rewrite ^__PATH__/(api|inscription|compte|export)$ __PATH__/$1.php; rewrite ^__PATH__/(api/deconnexion|inscription|compte|export)$ __PATH__/$1.php;
rewrite ^__PATH__/(connexion)$ __PATH__/$1.html; rewrite ^__PATH__/(connexion)$ __PATH__/$1.html;
index index.html index.php; index index.html index.php;
try_files $uri $uri/ __PATH__/index.php?$args; try_files $uri $uri/ __PATH__/index.php?$args;