Support load balancing in caddy

This commit is contained in:
2024-07-04 16:39:43 -03:00
parent 83b6615503
commit d0e2a1a494
3 changed files with 34 additions and 24 deletions

View File

@ -1,13 +1,15 @@
{
https_port 8888
http_port 8887
http_port 8888
https_port 8887
local_certs
admin off
}
localhost:8888 {
http://localhost:8888 {
handle_path /admin/terminal/* {
reverse_proxy /* http://127.0.0.1:7681
}
handle_path /admin/* {
reverse_proxy /* http://127.0.0.1:3000
}
}
}