New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nginx 安装补充 #16
Labels
documentation
Improvements or additions to documentation
Comments
ben1234560
added
good first issue
Good for newcomers
and removed
good first issue
Good for newcomers
labels
Jan 21, 2022
已经提交贡献,但不知道方法是否对不对,可能需要您的指导。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yum install nginx nginx-mod-stream -y
安装nginx时,建议 安装上 nginx-mod-stream ,不然在添加
stream {
upstream kube-apiserver {
server 10.4.7.21:6443 max_fails=3 fail_timeout=30s;
server 10.4.7.22:6443 max_fails=3 fail_timeout=30s;
}
server {
listen 7443;
proxy_connect_timeout 2s;
proxy_timeout 900s;
proxy_pass kube-apiserver;
}
}
可能会报错,会显示没有这个stream模块。
感谢楼主分享
The text was updated successfully, but these errors were encountered: