[Caddy] 这个关于 naiveproxy 配置关于咋写哈

看了这个教程,https://forum.tinyserve.com/d/11-naiveproxy-https-switchyomega
但是 caddy 的配置文档一直报错哈~~第一次用 caddy 是在没头绪。
”’
:443, domain.com
tls admin@domain.com
route {
forward_proxy {
basic_auth user pass
hide_ip
hide_via
probe_resistance www.baidu.com
}
file_server { root /var/www/html }
}
”’

报错如下
”’
OLDPWD=/root
2022/07/30 14:32:35.827 INFO using provided configuration {“config_file”: “/etc/caddy/Caddyfile”, “config_adapter”: “”}
run: adapting config using caddyfile: /etc/caddy/Caddyfile:40 – Error during parsing: Unexpected ‘{}’ at end of line
”’

感谢