Browse Source

更新 'share-v2/sharebms2-nginx/conf.d/sharebms2.conf'

chenghongxi 4 years ago
parent
commit
acc5bc6c0f
1 changed files with 9 additions and 0 deletions
  1. 9 0
      share-v2/sharebms2-nginx/conf.d/sharebms2.conf

+ 9 - 0
share-v2/sharebms2-nginx/conf.d/sharebms2.conf

@@ -1,5 +1,14 @@
 server {
     listen 80;
+	listen 443 ssl http2;
+
+    #ssl on;
+    ssl_certificate ssl/xinyueyouxi.com.pem;
+    ssl_certificate_key ssl/xinyueyouxi.com.key;
+    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
+    ssl_ciphers HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM;
+    ssl_prefer_server_ciphers on;
+    ssl_session_timeout 5m;
 
     add_header Access-Control-Allow-Origin *;
     add_header Access-Control-Allow-Headers *;