We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e0138ce + 33ff465 commit c7ac7a6Copy full SHA for c7ac7a6
uninstall.sh
@@ -153,7 +153,7 @@ then
153
ufw delete allow 21115:21119/tcp
154
# ufw delete 22/tcp # If connected to a remote VPS, this deletion will make the connection go down
155
ufw delete allow 21116/udp
156
- if [ -f "/etc/nginx/sites-available/rustdesk.conf" ]
+ if [ -f "/etc/nginx/sites-available/rustdesk.conf" ] || [ -f "/etc/nginx/conf.d/rustdesk.conf" ]
157
then
158
ufw delete allow 80/tcp
159
ufw delete allow 443/tcp
@@ -212,6 +212,7 @@ if [ -n "$REMOVE_NGINX_CONF" ]
212
213
rm -f "/etc/nginx/sites-available/rustdesk.conf"
214
rm -f "/etc/nginx/sites-enabled/rustdesk.conf"
215
+ rm -f "/etc/nginx/conf.d/rustdesk.conf"
216
service nginx restart
217
elif [ -n "$REMOVE_NGINX_ALL" ]
218
0 commit comments