adds registry and enricher routes
This commit is contained in:
@@ -4,6 +4,6 @@ http_address = "0.0.0.0:4180"
|
|||||||
whitelist_domains = [".consider-it.de", ".consider-funding.de"]
|
whitelist_domains = [".consider-it.de", ".consider-funding.de"]
|
||||||
cookie_secure = true
|
cookie_secure = true
|
||||||
email_domains = [ "*" ]
|
email_domains = [ "*" ]
|
||||||
scope = "openid"
|
scope = "openid profile email"
|
||||||
skip_provider_button = true
|
skip_provider_button = true
|
||||||
set_xauthrequest = true
|
set_xauthrequest = true
|
||||||
|
|||||||
@@ -41,6 +41,54 @@ pdf.consider-it.de {
|
|||||||
import oauth2_protect pdf.consider-it.de http://stirling-pdf:8080
|
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 {
|
n8n.consider-funding.de {
|
||||||
reverse_proxy n8n:5678 {
|
reverse_proxy n8n:5678 {
|
||||||
flush_interval -1
|
flush_interval -1
|
||||||
|
|||||||
Reference in New Issue
Block a user