faaso/config/Caddyfile

27 lines
447 B
Caddyfile
Raw Normal View History

{
2024-07-05 15:04:36 +00:00
http_port 8888
https_port 8887
local_certs
}
http://*:8888 {
basicauth /admin/* {
2024-07-06 15:54:49 +00:00
admin {$FAASO_PASSWORD}
}
2024-07-05 15:04:36 +00:00
handle_path /admin/terminal/* {
reverse_proxy /* http://127.0.0.1:7681
}
handle_path /admin/* {
reverse_proxy /* http://127.0.0.1:3000
}
handle_path /faaso/exp/* {
reverse_proxy /* http://faaso-exp-6ne49v:3000 {
health_uri /ping
fail_duration 30s
}
}
2024-07-06 14:58:40 +00:00
}