From 5dae3e4ca377fe73df791e6dbced01f87336d35a Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Fri, 16 Feb 2024 13:22:39 -0500 Subject: [PATCH] fix: location block (no-tls, internal-idp) --- conf/nginx.conf.tpl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/conf/nginx.conf.tpl b/conf/nginx.conf.tpl index 8ea8a0a..74bccd4 100644 --- a/conf/nginx.conf.tpl +++ b/conf/nginx.conf.tpl @@ -114,13 +114,15 @@ http { listen 80; server_name ${BENTOV2_AUTH_DOMAIN}; - # Reverse proxy settings - include /gateway/conf/proxy.conf; + location / { + # Reverse proxy settings + include /gateway/conf/proxy.conf; - set $upstream_auth ${BENTOV2_AUTH_CONTAINER_NAME}:${BENTOV2_AUTH_INTERNAL_PORT}; - proxy_pass $upstream_auth; + set $upstream_auth ${BENTOV2_AUTH_CONTAINER_NAME}:${BENTOV2_AUTH_INTERNAL_PORT}; + proxy_pass $upstream_auth; - error_log /var/log/bentov2_auth_errors.log; + error_log /var/log/bentov2_auth_errors.log; + } } # tpl__internal_idp__end # tpl__tls_no__end