1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

Subpath correction (#22)

This commit is contained in:
frju365 2020-06-17 20:51:48 +02:00 committed by GitHub
parent aad6a3b3b3
commit 82d7ffc2cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -1,6 +1,6 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__ {
# Path to source
alias __FINALPATH__/www/ ;

View file

@ -70,7 +70,6 @@ fi
ynh_script_progression --message="Updating nginx web server configuration..." --time --weight=1
nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf
final_path=/var/www/$app
# Change the path in the nginx config file
if [ $change_path -eq 1 ]