[zh-cn] resync frontend-nginx.conf
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# The identifier Backend is internal to nginx, and used to name this specific upstream
|
||||
# Backend 是 nginx 的内部标识符,用于命名以下特定的 upstream
|
||||
upstream Backend {
|
||||
# hello is the internal DNS name used by the backend Service inside Kubernetes
|
||||
# hello 是 Kubernetes 中的后端服务所使用的内部 DNS 名称
|
||||
server hello;
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ server {
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
# The following statement will proxy traffic to the upstream named Backend
|
||||
# 以下语句将流量通过代理方式转发到名为 Backend 的上游
|
||||
proxy_pass http://Backend;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user