stop listening on 2019/tcp with the caddy admin API in zrok caddy backend examples

This commit is contained in:
Kenneth Bingham 2023-12-20 08:49:50 -05:00
parent 1b3eacc04e
commit 4445720927
No known key found for this signature in database
GPG Key ID: 31709281860130B6
2 changed files with 15 additions and 0 deletions

View File

@ -1,5 +1,13 @@
# Multiple Backends Example
#
# global config must be first
{
# no listen on 2019/tcp with admin API
admin off
}
# zrok site block
http:// {
# Bind to the zrok share
bind {{ .ZrokBindAddress }}

View File

@ -1,3 +1,10 @@
# global config must be first
{
# no listen on 2019/tcp with admin API
admin off
}
# zrok site block
http:// {
bind {{ .ZrokBindAddress }}
reverse_proxy 127.0.0.1:3000