更新 v2ray_complete_setup.sh

This commit is contained in:
chunzhi 2025-08-14 01:16:23 -04:00
parent 51459376ec
commit 1c053afd27

View File

@ -247,11 +247,9 @@ install_nginx() {
</html>
EOF
# 创建Nginx配置目录如果不存在
mkdir -p /etc/nginx/conf.d
# 创建Nginx配置文件
cat > /etc/nginx/conf.d/${domain}.conf << EOF
cat > /etc/nginx/sites-enabled/${domain}.conf << EOF
server {
listen 80;
listen [::]:80;