mirror of
https://github.com/YunoHost-Apps/shaarli_ynh.git
synced 2024-09-03 20:26:10 +02:00
Update upgrade
This commit is contained in:
parent
3cadf7cd51
commit
206f5173ac
1 changed files with 0 additions and 7 deletions
|
@ -105,13 +105,6 @@ ynh_secure_remove "$tmpdir"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading NGINX web server configuration..."
|
ynh_script_progression --message="Upgrading NGINX web server configuration..."
|
||||||
|
|
||||||
# Bug in NGINX with locations and aliases (see http://stackoverflow.com/a/35102259 )
|
|
||||||
if [ $path_url = "/" ]; then
|
|
||||||
ynh_replace_string "__PATH_HACK__" "" "../conf/nginx.conf"
|
|
||||||
else
|
|
||||||
ynh_replace_string "__PATH_HACK__" "$path_url/$path_url" "../conf/nginx.conf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Create a dedicated NGINX config
|
# Create a dedicated NGINX config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue