mirror of
https://github.com/lucky-sideburn/kubeinvaders.git
synced 2026-04-21 01:16:53 +00:00
fixed Error Connecting to Endpoint
This commit is contained in:
@@ -12,6 +12,11 @@ server {
|
||||
etag off;
|
||||
}
|
||||
|
||||
location /kube {
|
||||
rewrite ^/kube(.*)$ /api$1 break;
|
||||
proxy_pass https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS};
|
||||
}
|
||||
|
||||
location /kube/api {
|
||||
rewrite ^/kube/api(.*)$ /api$1 break;
|
||||
proxy_pass https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS};
|
||||
|
||||
Reference in New Issue
Block a user