|
@@ -107,4 +107,34 @@ server {
|
|
|
log_not_found off;
|
|
|
access_log off;
|
|
|
}
|
|
|
+}
|
|
|
+server {
|
|
|
+ listen 8008;
|
|
|
+
|
|
|
+ #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 X-Requested-With;
|
|
|
+ add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
|
|
|
+
|
|
|
+ charset utf-8;
|
|
|
+
|
|
|
+ server_name _;
|
|
|
+
|
|
|
+ location / {
|
|
|
+ root /usr/share/nginx/html/businessweb;
|
|
|
+ try_files $uri $uri/ /index.html;
|
|
|
+ #index index.html;
|
|
|
+ }
|
|
|
+
|
|
|
+ location /favicon.ico {
|
|
|
+ log_not_found off;
|
|
|
+ access_log off;
|
|
|
+ }
|
|
|
}
|