Skip to content

Commit

Permalink
fix: forward traffic to keycloak if tls_no+internal_idp
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Feb 16, 2024
1 parent 90886ab commit d8d59f9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions conf/nginx.conf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,24 @@ http {
# tpl__tls_yes__end
# tpls__tls_no__start
# tpl__internal_idp__start
# Keycloak
server {
listen 80;
server_name ${BENTOV2_AUTH_DOMAIN};
# Reverse proxy settings
include /gateway/conf/proxy.conf;
set $upstream_auth ${BENTOV2_AUTH_CONTAINER_NAME}:${BENTOV2_AUTH_INTERNAL_PORT};
proxy_pass $upstream_auth;
error_log /var/log/bentov2_auth_errors.log;
}
# tpl__internal_idp__end
# tpls__tls_no__end
# Bento Public
map $http_origin $public_cors {
default '';
Expand Down

0 comments on commit d8d59f9

Please sign in to comment.