mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-11 18:09:59 -03:30
Bind nginx localhost proxy to localhost
This proxy should only be listening for local connections, not 0.0.0.0. Fixes #868
This commit is contained in:
parent
091b634ea1
commit
e22f938ae5
@ -16,7 +16,7 @@ stream {
|
||||
}
|
||||
|
||||
server {
|
||||
listen {{ kube_apiserver_port }};
|
||||
listen 127.0.0.1:{{ kube_apiserver_port }};
|
||||
proxy_pass kube_apiserver;
|
||||
proxy_timeout 10m;
|
||||
proxy_connect_timeout 1s;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user