34 lines
898 B
Caddyfile
34 lines
898 B
Caddyfile
{
|
|
auto_https off
|
|
}
|
|
|
|
http://{$AUTH_DOMAIN:auth.local.nodedc} {
|
|
@auth_root path /
|
|
redir @auth_root http://{$LAUNCHER_DOMAIN:launcher.local.nodedc}/ 302
|
|
|
|
@auth_user_dashboard path /if/user /if/user/*
|
|
redir @auth_user_dashboard http://{$LAUNCHER_DOMAIN:launcher.local.nodedc}/ 302
|
|
|
|
reverse_proxy authentik-server:9000 {
|
|
header_up Host {host}
|
|
header_up X-Forwarded-Proto {scheme}
|
|
header_up X-Forwarded-For {remote_host}
|
|
}
|
|
}
|
|
|
|
http://{$LAUNCHER_DOMAIN:launcher.local.nodedc} {
|
|
reverse_proxy {$LOCAL_LAUNCHER_UPSTREAM:host.docker.internal:5173} {
|
|
header_up Host localhost:5173
|
|
header_up X-Forwarded-Proto {scheme}
|
|
header_up X-Forwarded-For {remote_host}
|
|
}
|
|
}
|
|
|
|
http://{$TASK_DOMAIN:task.local.nodedc} {
|
|
reverse_proxy {$LOCAL_TASK_MANAGER_UPSTREAM:host.docker.internal:8090} {
|
|
header_up Host {host}
|
|
header_up X-Forwarded-Proto {scheme}
|
|
header_up X-Forwarded-For {remote_host}
|
|
}
|
|
}
|