Skip to content
Snippets Groups Projects
Commit e22f938a authored by Matthew Mosesohn's avatar Matthew Mosesohn
Browse files

Bind nginx localhost proxy to localhost

This proxy should only be listening for local connections, not 0.0.0.0.

Fixes #868
parent 091b634e
Branches
Tags
No related merge requests found
...@@ -16,7 +16,7 @@ stream { ...@@ -16,7 +16,7 @@ stream {
} }
server { server {
listen {{ kube_apiserver_port }}; listen 127.0.0.1:{{ kube_apiserver_port }};
proxy_pass kube_apiserver; proxy_pass kube_apiserver;
proxy_timeout 10m; proxy_timeout 10m;
proxy_connect_timeout 1s; proxy_connect_timeout 1s;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment