Support load balancing in caddy
This commit is contained in:
10
Caddyfile
10
Caddyfile
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user