Merge pull request #502 from openziti/caddy-no-admin

stop listening on 2019/tcp with the caddy admin API
This commit is contained in:
Kenneth Bingham 2024-01-05 14:50:31 -05:00 committed by GitHub
commit aef603529f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

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