mirror of
https://github.com/openziti/zrok.git
synced 2024-11-07 16:54:23 +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
|
# 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 }}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user