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/; } }