|
@@ -323,7 +323,7 @@ server
|
|
|
listen 443 ssl;
|
|
|
ssl on;
|
|
|
server_name www.yibianshoucang.com;
|
|
|
- root /game/website/afh5/1.0.1/;
|
|
|
+ root /game/website/afh5/1.0.1/ybweb;
|
|
|
|
|
|
location /api/ {
|
|
|
proxy_pass http://47.122.0.171:9989/;
|
|
@@ -376,4 +376,29 @@ server
|
|
|
ssl_prefer_server_ciphers on;
|
|
|
|
|
|
|
|
|
+}
|
|
|
+
|
|
|
+server
|
|
|
+{
|
|
|
+ listen 443 ssl;
|
|
|
+ ssl on;
|
|
|
+ server_name meta-chat.yibianshoucang.com;
|
|
|
+ root /game/website/afh5/1.0.1/;
|
|
|
+
|
|
|
+ location / {
|
|
|
+ proxy_pass http://127.0.0.1:9900;
|
|
|
+ proxy_http_version 1.1;
|
|
|
+ proxy_set_header Upgrade $http_upgrade;
|
|
|
+ proxy_set_header Connection "Upgrade";
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ ssl_certificate ssl/9486032_meta-chat.yibianshoucang.com.pem;
|
|
|
+ ssl_certificate_key ssl/9486032_meta-chat.yibianshoucang.com.key;
|
|
|
+ ssl_session_timeout 5m;
|
|
|
+ ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
|
|
|
+ ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
|
|
+ ssl_prefer_server_ciphers on;
|
|
|
+
|
|
|
+
|
|
|
}
|