Explorar o código

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

chenghongxi %!s(int64=4) %!d(string=hai) anos
pai
achega
131e50ab67
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  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;