zjcqoo 6 years ago
parent
commit
96f4cd1f71
2 changed files with 6 additions and 5 deletions
  1. 4 4
      nginx.conf
  2. 2 1
      upload.sh

+ 4 - 4
nginx.conf

@@ -1,9 +1,9 @@
 http {
   server {
-    # server_name           example.com;
-    # ssl_certificate       cert/example.com/ecc.cer;
-    # ssl_certificate_key   cert/example.com/ecc.key;
-    # listen                8443 ssl http2;
+    server_name           *.etherdream.com;
+    ssl_certificate       cert/etherdream.com/ecc.cer;
+    ssl_certificate_key   cert/etherdream.com/ecc.key;
+    listen                8443 ssl http2;
     listen                8080;
     include               api.conf;
   }

+ 2 - 1
upload.sh

@@ -2,12 +2,13 @@ HOST=etherdream.com
 NODE=(
   node-aliyun-hk
   node-aliyun-sg
+  node-bwh-los
 )
 for v in ${NODE[@]}; do
   echo "$v upload ..."
 
   rsync . jsproxy@$v.$HOST:server \
-    --delete -r \
+    -r \
     --exclude='nginx/cache/*' \
     --exclude='nginx/logs/*'