f7b29716fd
* Enhancements in clarity to docs/tasks/access-application-cluster/connecting-frontend-backend.md * Code review comments * Reverting name of service due to backed value in Dockerimage
15 lines
378 B
Plaintext
15 lines
378 B
Plaintext
# The identifier Backend is internal to nginx, and used to name this specific upstream
|
|
upstream Backend {
|
|
# hello is the internal DNS name used by the backend Service inside Kubernetes
|
|
server hello;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
|
|
location / {
|
|
# The following statement will proxy traffic to the upstream named Backend
|
|
proxy_pass http://Backend;
|
|
}
|
|
}
|