Explorar o código

Remove sub_path_only for nginx from upgrade script

Maniack Crudelis %!s(int64=6) %!d(string=hai) anos
pai
achega
397a241df6
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      scripts/upgrade

+ 0 - 5
scripts/upgrade

@@ -83,11 +83,6 @@ ynh_setup_source "$final_path"
 
 # Create a dedicated nginx config
 ynh_add_nginx_config
-if [ "$path_url" != "/" ]
-then
-	ynh_replace_string "^#sub_path_only" "" "/etc/nginx/conf.d/$domain.d/$app.conf"
-fi
-ynh_store_file_checksum "/etc/nginx/conf.d/$domain.d/$app.conf"
 
 #=================================================
 # UPGRADE DEPENDENCIES