certificates_files.yaml
使用前请修改地址、凭据、证书路径和其他部署相关的值。这是完整的源文件,但不保证未经修改即可在你的机器上运行。请阅读文件中的注释了解前置条件,然后对修改后的文件运行 shoes check。
# Renew these files with an external ACME client. No shoes reload is required.- certificate_source: public type: files cert: /etc/shoes/certs/fullchain.pem key: /etc/shoes/certs/privkey.pem
- address: "0.0.0.0:8443" protocol: type: tls tls_targets: proxy.example.com: certificate_source: public protocol: type: trojan password: replace-with-a-strong-password
- address: "0.0.0.0:8443" transport: quic quic_settings: certificate_source: public protocol: type: hysteria2 password: replace-with-a-strong-password