mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Should work now
This commit is contained in:
parent
66b8402f25
commit
bfa1ba2f37
2 changed files with 6 additions and 5 deletions
|
@ -26,10 +26,12 @@ location __PATH__/ {
|
|||
}
|
||||
|
||||
# Default indexes and catch-all
|
||||
rewrite ^__PATH__/(api/deconnexion|inscription|compte|export)$ __PATH__/$1.php;
|
||||
rewrite ^__PATH__/(connexion)$ __PATH__/$1.html;
|
||||
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/ __PATH__/index.php?$args;
|
||||
try_files $uri $uri.php $uri/index.php $uri/ $1?$args $1.php?$args;
|
||||
|
||||
# Execute and serve PHP files
|
||||
location ~ [^/]\.php(/|$) {
|
||||
|
|
|
@ -42,7 +42,6 @@ ram.runtime = "50M"
|
|||
sha256 = "94c3010d12f9650ea87aecde046ef0ba4102308b566de94868adc76c69c22ccf"
|
||||
|
||||
[resources.system_user]
|
||||
allow_email = true
|
||||
|
||||
[resources.install_dir]
|
||||
|
||||
|
@ -50,7 +49,7 @@ ram.runtime = "50M"
|
|||
main.url = "/"
|
||||
|
||||
[resources.apt]
|
||||
packages = "mariadb-server, php8.2-gd, php8.2-mysql"
|
||||
packages = "mariadb-server, php8.2-gd, php8.2-mysql, php8.2-mbstring"
|
||||
|
||||
[resources.database]
|
||||
type = "mysql"
|
||||
|
|
Loading…
Add table
Reference in a new issue