Commit 9f36d492 by ningfd

Update cfg-kpl-nginx.yaml.j2

1 parent 2f52ad56
Showing with 0 additions and 22 deletions
...@@ -54,17 +54,6 @@ data: ...@@ -54,17 +54,6 @@ data:
client_max_body_size 10240m; client_max_body_size 10240m;
} }
location /grafana {
root html;
index index.html index.htm;
add_header 'Access-Control-Allow-Origin' '*';
add_header Access-Control-Allow-Methods GET,POST,OPTIONS,DELETE;
add_header 'Access-Control-Allow-Headers' 'userId,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
proxy_pass http://wd-grafana.autodl.svc.cluster.local:3000;
rewrite ^/grafana/(.*) /$1 break;
proxy_set_header Host $host;
}
location = /basic_status { location = /basic_status {
stub_status; stub_status;
} }
...@@ -139,17 +128,6 @@ data: ...@@ -139,17 +128,6 @@ data:
client_max_body_size 10240m; client_max_body_size 10240m;
} }
location /grafana {
root html;
index index.html index.htm;
add_header 'Access-Control-Allow-Origin' '*';
add_header Access-Control-Allow-Methods GET,POST,OPTIONS,DELETE;
add_header 'Access-Control-Allow-Headers' 'userId,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
proxy_pass http://wd-grafana.autodl.svc.cluster.local:3000;
rewrite ^/grafana/(.*) /$1 break;
proxy_set_header Host $host;
}
location = /basic_status { location = /basic_status {
stub_status; stub_status;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!