We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca97879 commit 88b9824Copy full SHA for 88b9824
x-ui-pro.sh
@@ -1,5 +1,5 @@
1
#!/bin/bash
2
-#################### x-ui-pro v2.0.1 @ github.com/GFW4Fun ##############################################
+#################### x-ui-pro v2.0.2 @ github.com/GFW4Fun ##############################################
3
[[ $EUID -ne 0 ]] && echo "not root!" && sudo su -
4
##############################INFO######################################################################
5
msg_ok() { echo -e "\e[1;42m $1 \e[0m";}
@@ -132,7 +132,7 @@ fi
132
cat > "/etc/nginx/sites-available/$MainDomain" << EOF
133
server {
134
server_tokens off;
135
- server_name *.$MainDomain $MainDomain;
+ server_name $MainDomain *.$MainDomain;
136
listen 80;
137
listen 443 ssl http2;
138
listen [::]:80;
0 commit comments