更新 v2ray_complete_setup.sh
This commit is contained in:
parent
51459376ec
commit
1c053afd27
@ -247,11 +247,9 @@ install_nginx() {
|
|||||||
</html>
|
</html>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# 创建Nginx配置目录(如果不存在)
|
|
||||||
mkdir -p /etc/nginx/conf.d
|
|
||||||
|
|
||||||
# 创建Nginx配置文件
|
# 创建Nginx配置文件
|
||||||
cat > /etc/nginx/conf.d/${domain}.conf << EOF
|
cat > /etc/nginx/sites-enabled/${domain}.conf << EOF
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user