From fa679ed73d9e112cbfe61429e804fc633ab3703e Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Mon, 24 Oct 2022 20:08:03 +0200 Subject: [PATCH] upstream --- nginx/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 69045eb..4b4f851 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -99,7 +99,8 @@ http { proxy_cache off; proxy_pass_request_headers on; - proxy_pass http://hugo-chat-backend:8080/; + set $upstream_backend hugo-chat-backend; + proxy_pass http://$upstream_backend:8080/; } }