What is the new way of specifying “tls off” like in beta stage of Caddy v2? I like to run Caddy on a QNAP NAS that has limited (and NATted) access to the internet.
Config:
{
http_port 81
}
:81, [::]:81 {
root * /etc/caddy/html
tls off
file_server
}
returns the following error (caddy validate --config /etc/caddy/Caddyfile --adapter caddyfile):
2020/04/03 06:31:06.757 INFO using provided configuration {"config_file": "/etc/caddy/Caddyfile", "config_adapter": "caddyfile"}
validate: adapting config using caddyfile: parsing caddyfile tokens for 'tls': /etc/caddy/Caddyfile:6 - Error during parsing: single argument must either be 'internal' or an email address
Thanks!