set -eux # See comments in install script app=$YNH_APP_INSTANCE_NAME domain=$(yunohost app setting $app domain) rm -rf /var/www/$app rm -f /etc/nginx/conf.d/$domain.d/$app.conf service nginx reload