diff --git a/manifest.json b/manifest.json index fbf956c..783924c 100644 --- a/manifest.json +++ b/manifest.json @@ -58,7 +58,7 @@ "fr": "Est-ce une application publique ?" }, "help":{ - "en":"No will set the library in /home/yunohost.multimedia/admin/eBook, but if you set thje library as public", + "en":"No will set the library in /home/yunohost.multimedia/admin/eBook, except if you set the library as public", "fr":"Non parametrera la bibliothèque pour /home/yunohost.multimedia/admin/eBook sauf si la bibliothèque est également publique" }, "default": false diff --git a/scripts/upgrade b/scripts/upgrade index e77ea9d..0c037a6 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -68,6 +68,10 @@ ynh_setup_source "$final_path" # NGINX CONFIGURATION #================================================= +if [ $path_url = "/" ] ; then + ynh_replace_string " proxy_set_header X-Script-Name" "# proxy_set_header X-Script-Name" ../conf/nginx.conf +fi + # Create a dedicated nginx config ynh_add_nginx_config