惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
CERT Recently Published Vulnerability Notes
V
Vulnerabilities – Threatpost
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
L
Lohrmann on Cybersecurity
C
CXSECURITY Database RSS Feed - CXSecurity.com
Schneier on Security
Schneier on Security
T
Threatpost
P
Proofpoint News Feed
MongoDB | Blog
MongoDB | Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
大猫的无限游戏
大猫的无限游戏
T
Threat Research - Cisco Blogs
罗磊的独立博客
Security Latest
Security Latest
D
Docker
S
Secure Thoughts
博客园 - 聂微东
A
Arctic Wolf
Recorded Future
Recorded Future
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
The Cloudflare Blog
P
Palo Alto Networks Blog
Project Zero
Project Zero
Blog — PlanetScale
Blog — PlanetScale
D
Darknet – Hacking Tools, Hacker News & Cyber Security
H
Help Net Security
T
The Blog of Author Tim Ferriss
Latest news
Latest news
AWS News Blog
AWS News Blog
U
Unit 42
Stack Overflow Blog
Stack Overflow Blog
The GitHub Blog
The GitHub Blog
Know Your Adversary
Know Your Adversary
Vercel News
Vercel News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
F
Full Disclosure
Martin Fowler
Martin Fowler
T
The Exploit Database - CXSecurity.com
Attack and Defense Labs
Attack and Defense Labs
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog
V
V2EX
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
小众软件
小众软件
宝玉的分享
宝玉的分享

Caddy

单位目前业务都是 nginx+手动操作 acme 续期,我想给全整成用 Caddy。目前试着改了一个流量小的业务暂时没发现有什么异常。试问: Caddy2 能用于正经的生产环境吗 这个关于 naiveproxy 配置关于咋写哈 caddy 能不能跟 asp.net 组合建站? - V2EX 写了个 Caddy2 插件 geocn 用于识别中国大陆 ip Caddy 很可能无法和 cdn 共用,浪费了两个人一下午之后换了 nginx 花 5 分钟搞好了 (腾讯七牛 CDN 相关) - V2EX 请教一个 caddy2 的反代规则 - V2EX Caddy file_server 怎么样配置多个目录? caddy 能稳定用于简单的生产环境中吗 - V2EX 一个简洁又强大的 Caddy,难用起来也会让人无语 - V2EX CaddyServer 1.0 已发布 - V2EX caddy 服务器返回一个 json - V2EX Caddy Server 已支持 QUIC 协议,又可以折腾新技术了 - V2EX 一个 Caddy Server 的简易入门手册, QwQ - V2EX Caddy Server 作者关于服务器软件是否应该免费写的一篇文章 - V2EX 再推荐一下 Caddy HTTP Server。 - V2EX caddy 一个可以直接当博客程序用的 nginx - V2EX
hosts 文件中指定域名到 127.0.0.1,https 访问本机 caddy 搭建的 web 网站 - V2EX
azev · 2022-10-14 · via Caddy
Projection

3

Projection      2022 年 10 月 15 日

默认的方式是通过验证网站的 http://<YOUR_DOMAIN>/.well-known/acme-challenge/<TOKEN> 文件实现的。

如果只是修改本机 HOSTS 文件,首先 CA 无法解析服务器 IP 。即便你修改了 DNS 的 A/AAAA 记录为 127.0.0.1 ,CA 也无法访问到你的网站。如果你有公网 IP ,那么监听到公网 IP 是可以直接下发证书的。

如果没有公网 IP ,使用 DNS 验证的方式比较简单,并且只有这种方式支持泛域名。如果你用 Cloudflare 的话,就用 caddy-dns/cloudflare 这个模块。

当然还有其他验证的方式,具体参考官方文档。