mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Update nginx
This commit is contained in:
parent
2dbe32198b
commit
adf68c6601
3 changed files with 1 additions and 3 deletions
|
@ -26,7 +26,7 @@ location __PATH__/ {
|
|||
}
|
||||
|
||||
# Default indexes and catch-all
|
||||
rewrite ^/(connexion|compte)$ /$1.html;
|
||||
rewrite ^/(connexion|compte)$ /$1.php;
|
||||
rewrite ^/api/([a-zA-Z0-9_]+)(\?.*)?$ /api/$1.php$2;
|
||||
index index.php index.html;
|
||||
try_files $uri $uri/ $uri.php?$args;
|
||||
|
|
|
@ -17,7 +17,6 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
ynh_exec_warn_less mkdir "$install_dir/sessions"
|
||||
ynh_exec_warn_less mkdir "$install_dir/soap_cache"
|
||||
ynh_exec_warn_less mkdir "$install_dir/composer"
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@ popd
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir" --full_replace=1
|
||||
|
||||
ynh_exec_warn_less mkdir "$install_dir/sessions"
|
||||
ynh_exec_warn_less mkdir "$install_dir/soap_cache"
|
||||
ynh_exec_warn_less mkdir "$install_dir/composer"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue