mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
Merge branch 'subpath_correction' into testing
This commit is contained in:
commit
b82a409f77
2 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
|
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __FINALPATH__/www/ ;
|
alias __FINALPATH__/www/ ;
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,6 @@ fi
|
||||||
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=5
|
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=5
|
||||||
|
|
||||||
nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf
|
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
|
# Change the path in the NGINX config file
|
||||||
if [ $change_path -eq 1 ]
|
if [ $change_path -eq 1 ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue