mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Updates
This commit is contained in:
parent
8bb27ae078
commit
3f32aee1e0
2 changed files with 4 additions and 7 deletions
|
@ -26,12 +26,9 @@ location __PATH__/ {
|
|||
}
|
||||
|
||||
# Default indexes and catch-all
|
||||
rewrite ^/(export|inscription|compte)$ /$1.php;
|
||||
rewrite ^/(connexion)$ /$1.html;
|
||||
rewrite ^/api/(deconnexion)$ /api/$1.php;
|
||||
rewrite ^/img/(captcha)$ /img/$1.php;
|
||||
index index.html index.php;
|
||||
try_files $uri $uri.php $uri/index.php $uri/ $1?$args $1.php?$args;
|
||||
rewrite ^/(connexion|compte)$ /$1.html;
|
||||
index index.php index.html;
|
||||
try_files $uri $uri/ $uri.php?$args;
|
||||
|
||||
# Execute and serve PHP files
|
||||
location ~ [^/]\.php(/|$) {
|
||||
|
|
|
@ -49,7 +49,7 @@ ram.runtime = "50M"
|
|||
main.url = "/"
|
||||
|
||||
[resources.apt]
|
||||
packages = "mariadb-server, php8.2-gd, php8.2-mysql, php8.2-mbstring"
|
||||
packages = "mariadb-server, php8.2-gd, php8.2-mysql, php8.2-xml, php8.2-mbstring"
|
||||
|
||||
[resources.database]
|
||||
type = "mysql"
|
||||
|
|
Loading…
Reference in a new issue