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
|
# Default indexes and catch-all
|
||||||
rewrite ^/(export|inscription|compte)$ /$1.php;
|
rewrite ^/(connexion|compte)$ /$1.html;
|
||||||
rewrite ^/(connexion)$ /$1.html;
|
index index.php index.html;
|
||||||
rewrite ^/api/(deconnexion)$ /api/$1.php;
|
try_files $uri $uri/ $uri.php?$args;
|
||||||
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;
|
|
||||||
|
|
||||||
# Execute and serve PHP files
|
# Execute and serve PHP files
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
|
|
|
@ -49,7 +49,7 @@ ram.runtime = "50M"
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
|
||||||
[resources.apt]
|
[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]
|
[resources.database]
|
||||||
type = "mysql"
|
type = "mysql"
|
||||||
|
|
Loading…
Add table
Reference in a new issue