소스 검색

更新 '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;