mirror of
https://github.com/openziti/zrok.git
synced 2024-12-23 07:09:12 +01:00
Merge pull request #502 from openziti/caddy-no-admin
stop listening on 2019/tcp with the caddy admin API
This commit is contained in:
commit
aef603529f
@ -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 }}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user