Skip to content

Commit 087564d

Browse files
authored
Update x-ui-pro.sh
1 parent 2d63916 commit 087564d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-ui-pro.sh

+1
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ if [[ -f "/etc/nginx/sites-available/$MainDomain" ]]; then
409409
ln -fs "/etc/nginx/sites-available/$MainDomain" "/etc/nginx/sites-enabled/" 2>/dev/null
410410
fi
411411
sudo rm -f /etc/nginx/sites-enabled/*{save,~,bak,backup}
412+
#grep -r "server_name .*\.udomain\.com" /etc/nginx/
412413
##################################Check Nginx status####################################################
413414
if ! systemctl start nginx > /dev/null 2>&1 || ! nginx -t &>/dev/null || nginx -s reload 2>&1 | grep -q error; then
414415
pkill -9 nginx || killall -9 nginx

0 commit comments

Comments
 (0)