2024-07-04 16:10:32 +00:00
|
|
|
{
|
2024-07-05 01:04:02 +00:00
|
|
|
http_port 8888
|
|
|
|
https_port 8887
|
|
|
|
local_certs
|
2024-07-04 16:10:32 +00:00
|
|
|
}
|
|
|
|
|
2024-07-05 01:04:02 +00:00
|
|
|
http://*:8888 {
|
|
|
|
basicauth /admin/* {
|
|
|
|
# admin $2a$14$C35905PxPzICAZKc/O9jYOS7ipZNPBtrndja8Yu3bvs/UujckryHS
|
|
|
|
admin {$HTTP_BASIC_AUTH_PASSWORD}
|
|
|
|
}
|
|
|
|
|
|
|
|
handle_path /admin/terminal/* {
|
|
|
|
reverse_proxy /* http://127.0.0.1:7681
|
|
|
|
}
|
|
|
|
handle_path /admin/* {
|
|
|
|
reverse_proxy /* http://127.0.0.1:3000
|
|
|
|
}
|
2024-07-04 23:22:43 +00:00
|
|
|
}
|