Explorar el Código

:bug: fix nginx.conf

Jeremy Zheng hace 3 años
padre
commit
6a695c4c4b
Se han modificado 1 ficheros con 1 adiciones y 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;