看了这个教程,https://forum.tinyserve.com/d/11-naiveproxy-https-switchyomega 但是caddy的配置文档一直报错哈~~ 如下
- :443, domain.com
- tls [email protected]
- 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
复制代码
感谢 |