Move caddy API access to internal variables
Moved the ability to switch off caddy's api access to variables not intended to be overwritten. It still can, but it is much more difficult. Since every docker deployment relies on caddy's api to be accessible it seems weird to present an easily reachable option to turn it off globally.
This commit is contained in:
parent
30089b434e
commit
7eeeec0489
2 changed files with 2 additions and 1 deletions
|
|
@ -6,3 +6,5 @@ caddy_stack:
|
|||
|
||||
caddy_http_server_name: httpserve
|
||||
caddy_https_server_name: httpsserve
|
||||
|
||||
caddy_use_api: yes # if no turns off api interface; it is *required* for other swarm roles to be routed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue