uninstall /etc/nginx/conf.d/rustdesk.conf
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
e0138ceb39
commit
33ff465148
@ -153,7 +153,7 @@ then
|
|||||||
ufw delete allow 21115:21119/tcp
|
ufw delete allow 21115:21119/tcp
|
||||||
# ufw delete 22/tcp # If connected to a remote VPS, this deletion will make the connection go down
|
# ufw delete 22/tcp # If connected to a remote VPS, this deletion will make the connection go down
|
||||||
ufw delete allow 21116/udp
|
ufw delete allow 21116/udp
|
||||||
if [ -f "/etc/nginx/sites-available/rustdesk.conf" ]
|
if [ -f "/etc/nginx/sites-available/rustdesk.conf" ] || [ -f "/etc/nginx/conf.d/rustdesk.conf" ]
|
||||||
then
|
then
|
||||||
ufw delete allow 80/tcp
|
ufw delete allow 80/tcp
|
||||||
ufw delete allow 443/tcp
|
ufw delete allow 443/tcp
|
||||||
@ -212,6 +212,7 @@ if [ -n "$REMOVE_NGINX_CONF" ]
|
|||||||
then
|
then
|
||||||
rm -f "/etc/nginx/sites-available/rustdesk.conf"
|
rm -f "/etc/nginx/sites-available/rustdesk.conf"
|
||||||
rm -f "/etc/nginx/sites-enabled/rustdesk.conf"
|
rm -f "/etc/nginx/sites-enabled/rustdesk.conf"
|
||||||
|
rm -f "/etc/nginx/conf.d/rustdesk.conf"
|
||||||
service nginx restart
|
service nginx restart
|
||||||
elif [ -n "$REMOVE_NGINX_ALL" ]
|
elif [ -n "$REMOVE_NGINX_ALL" ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user