adds pseudo.cortex.consider-funding.de upstream, adds snippet for easy oauth2-proxy protect, moves oauth2-proxy secrets to .env file
This commit is contained in:
@@ -1,13 +1,37 @@
|
||||
pdf.consider-it.de {
|
||||
reverse_proxy oauth2-proxy:4180
|
||||
(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}
|
||||
}
|
||||
}
|
||||
|
||||
metabase.consider-it.de {
|
||||
reverse_proxy metabase:3000
|
||||
pseudo.cortex.consider-funding.de {
|
||||
import oauth2_protect pseudo.cortex.consider-funding.de http://10.20.0.2:5000
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
reverse_proxy n8n:5678 {
|
||||
flush_interval -1
|
||||
}
|
||||
}
|
||||
|
||||
metabase.consider-it.de {
|
||||
reverse_proxy metabase:3000
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user