Explorar o código

:bug: fix nginx.conf

Jeremy Zheng %!s(int64=3) %!d(string=hai) anos
pai
achega
6a695c4c4b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;