瀏覽代碼

:bug: fix nginx.conf

Jeremy Zheng 3 年之前
父節點
當前提交
6a695c4c4b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/ops/nginx/react.sh

+ 1 - 1
scripts/ops/nginx/react.sh

@@ -12,7 +12,7 @@ fi
 echo "check /etc/nginx/sites-enabled/$1.conf"
 if [ ! -f /etc/nginx/sites-enabled/$1.conf ]
 then
-    cat > aaa.confg <<EOF
+    cat > /etc/nginx/sites-enabled/$1.conf <<EOF
 server {
 
   server_name $1;