Commit 33ff465 1 parent e0138ce commit 33ff465 Copy full SHA for 33ff465
File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 153
153
ufw delete allow 21115:21119/tcp
154
154
# ufw delete 22/tcp # If connected to a remote VPS, this deletion will make the connection go down
155
155
ufw delete allow 21116/udp
156
- if [ -f " /etc/nginx/sites-available/rustdesk.conf" ]
156
+ if [ -f " /etc/nginx/sites-available/rustdesk.conf" ] || [ -f " /etc/nginx/conf.d/rustdesk.conf " ]
157
157
then
158
158
ufw delete allow 80/tcp
159
159
ufw delete allow 443/tcp
@@ -212,6 +212,7 @@ if [ -n "$REMOVE_NGINX_CONF" ]
212
212
then
213
213
rm -f " /etc/nginx/sites-available/rustdesk.conf"
214
214
rm -f " /etc/nginx/sites-enabled/rustdesk.conf"
215
+ rm -f " /etc/nginx/conf.d/rustdesk.conf"
215
216
service nginx restart
216
217
elif [ -n " $REMOVE_NGINX_ALL " ]
217
218
then
You can’t perform that action at this time.
0 commit comments