实际部署上 SSL 踩出两坑:①同端口双 listen(ssl+明文)nginx -t 报 duplicate listen;②`if ($scheme = http)` 在 ssl-only 端口永远不触发, 同端口 HTTP→HTTPS 跳转要用 error_page 497 =301。示例配置补注释模板, 另提醒企微回调/可信域名只认 80/443 标准端口。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| zcbot.conf.example | ||