mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 14:50:55 +01:00
stop listening on 2019/tcp with the caddy admin API in zrok caddy backend examples
This commit is contained in:
parent
1b3eacc04e
commit
4445720927
@ -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