mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Stopy proxying etcd (localhost:4001) on https:/$MASTER_IP/etcd.
This commit is contained in:
parent
beef874eaa
commit
10a61d05a1
@ -58,18 +58,4 @@ server {
|
|||||||
# Disable retry
|
# Disable retry
|
||||||
proxy_next_upstream off;
|
proxy_next_upstream off;
|
||||||
}
|
}
|
||||||
location /etcd/ {
|
|
||||||
auth_basic "Restricted";
|
|
||||||
auth_basic_user_file /usr/share/nginx/htpasswd;
|
|
||||||
|
|
||||||
# Proxy settings
|
|
||||||
proxy_pass http://localhost:4001/;
|
|
||||||
proxy_connect_timeout 159s;
|
|
||||||
proxy_send_timeout 600s;
|
|
||||||
proxy_read_timeout 600s;
|
|
||||||
proxy_buffer_size 64k;
|
|
||||||
proxy_buffers 16 32k;
|
|
||||||
proxy_busy_buffers_size 64k;
|
|
||||||
proxy_temp_file_write_size 64k;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user