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