diff --git a/scripts/install b/scripts/install index 1b9000f..c212f26 100644 --- a/scripts/install +++ b/scripts/install @@ -212,6 +212,13 @@ then ynh_app_setting_set "$app" unprotected_uris "/" fi +#================================================= +# RELOAD NGINX +#================================================= +ynh_print_info "Reloading nginx web server..." + +systemctl reload nginx + #================================================= # START SERVICE #================================================= @@ -245,13 +252,6 @@ If you are facing any problem or want to improve this app, please open a new iss ynh_send_readme_to_admin "$message" -#================================================= -# RELOAD NGINX -#================================================= -ynh_print_info "Reloading nginx web server..." - -systemctl reload nginx - #================================================= # END OF SCRIPT #=================================================