17 lines
232 B
Caddyfile
17 lines
232 B
Caddyfile
{
|
|
auto_https off
|
|
admin off
|
|
http_port 80
|
|
}
|
|
|
|
:80 {
|
|
reverse_proxy 127.0.0.1:6969
|
|
|
|
route /whitelist* {
|
|
basic_auth /whitelist {
|
|
{$WHITELIST_USERNAME} {$WHITELIST_PASSWORD}
|
|
}
|
|
reverse_proxy 127.0.0.1:3001
|
|
}
|
|
}
|