adds registry and enricher routes

This commit is contained in:
2025-10-29 19:49:59 +01:00
parent 40a147394d
commit 518ec7decd
2 changed files with 49 additions and 1 deletions

View File

@@ -4,6 +4,6 @@ http_address = "0.0.0.0:4180"
whitelist_domains = [".consider-it.de", ".consider-funding.de"]
cookie_secure = true
email_domains = [ "*" ]
scope = "openid"
scope = "openid profile email"
skip_provider_button = true
set_xauthrequest = true

View File

@@ -41,6 +41,54 @@ pdf.consider-it.de {
import oauth2_protect pdf.consider-it.de http://stirling-pdf:8080
}
registry.cortex.consider-funding.de {
handle /oauth2/* {
reverse_proxy oauth2-proxy:4180
}
handle {
forward_auth oauth2-proxy:4180 {
uri /oauth2/auth
copy_headers Authorization
copy_headers X-Auth-Request-Email
@bad status 4xx
handle_response @bad {
redir https://registry.cortex.consider-funding.de/oauth2/start
}
}
reverse_proxy https://ai-registry.neukiefer.de {
header_up Host ai-registry.neukiefer.de
header_up Authorization "Basic Y2l0OnBDMVpUNVFtZjc2WWVGYzA="
}
}
}
enricher.cortex.consider-funding.de {
handle /oauth2/* {
reverse_proxy oauth2-proxy:4180
}
handle {
forward_auth oauth2-proxy:4180 {
uri /oauth2/auth
copy_headers Authorization
copy_headers X-Auth-Request-Email
@bad status 4xx
handle_response @bad {
redir https://enricher.cortex.consider-funding.de/oauth2/start
}
}
reverse_proxy https://ai-enricher.neukiefer.de {
header_up Host ai-enricher.neukiefer.de
header_up Authorization "Basic Y2l0OnBDMVpUNVFtZjc2WWVGYzA="
}
}
}
n8n.consider-funding.de {
reverse_proxy n8n:5678 {
flush_interval -1