浏览代码

更新 'k8swebapi-nginx/conf.d/k8swebapi-nginx.conf'

chenghongxi 4 年之前
父节点
当前提交
131e50ab67
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      k8swebapi-nginx/conf.d/k8swebapi-nginx.conf

+ 1 - 4
k8swebapi-nginx/conf.d/k8swebapi-nginx.conf

@@ -79,10 +79,7 @@ server {
     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 pay-test.278740.cn;