Files
it-ansible/docker_compose_applications/reverse-proxy/Caddyfile
2025-11-28 11:04:35 +01:00

53 lines
958 B
Caddyfile

(oauth2_protect) {
handle /oauth2/* {
reverse_proxy oauth2-proxy:4180
}
handle {
forward_auth oauth2-proxy:4180 {
uri /oauth2/auth
copy_headers Authorization
@bad status 4xx
handle_response @bad {
redir https://{args[0]}/oauth2/start
}
}
reverse_proxy {args[1]}
}
}
pseudo.cortex.consider-funding.de {
import oauth2_protect pseudo.cortex.consider-funding.de http://transcript-anonymizer-frontend:5000
}
# transcript-prompter
p-3001.cortex.consider-funding.de {
reverse_proxy http://10.20.0.2:3001
}
#hubspot-writer
p-8002.cortex.consider-funding.de {
reverse_proxy http://10.20.0.2:8002
}
# pseudomizer
p-8003.cortex.consider-funding.de {
reverse_proxy http://transcript-anonymizer:8003
}
pdf.consider-it.de {
import oauth2_protect pdf.consider-it.de http://stirling-pdf:8080
}
n8n.consider-funding.de {
reverse_proxy n8n:5678 {
flush_interval -1
}
}
metabase.consider-it.de {
reverse_proxy metabase:3000
}