From f157161250184170d09aad3138436cda4d80898a Mon Sep 17 00:00:00 2001 From: Jack Hadrill Date: Sat, 27 Aug 2022 20:32:45 +0000 Subject: [PATCH] Update 'director.conf' --- director.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/director.conf b/director.conf index 571a5a7..359ceb9 100644 --- a/director.conf +++ b/director.conf @@ -5,8 +5,8 @@ server { resolver 127.0.0.11 valid=1s; location / { - proxy_pass http://${CONTAINER_PREFIX}-$http_x_forwarded_preferred_username:${CONTAINER_PORT}/; - proxy_set_header Host $host; + proxy_pass http://${CONTAINER_PREFIX}-$http_x_forwarded_preferred_username:${CONTAINER_PORT}; + proxy_set_header Host ${CONTAINER_PREFIX}-$http_x_forwarded_preferred_username; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection upgrade; proxy_set_header Accept-Encoding gzip;