原文:caddy server && caddyfile

This page describes how to configure Caddy using the Caddyfile. Introduction The term Caddyfile describes a text file that changes how Caddy works. It s similar in purpose to httpd.conf or nginx.conf. ...

2017-03-20 19:55 0 1542 推荐指数:

查看详情

[Caddy2] The Caddy Web Server 常见 Caddyfile 模式

Caddyfile 是 JSON 配置的易用写法,支持通常用的功能,完整功能还是需要 JSON 配置的。 以下适用于 Caddy2 版本的配置。 静态文件服务器 通常第一行是站点地址,root 代表站点根路径,* 代表访问所有路径,也可以匹配其它路径,后面 ...

Fri Jun 12 21:39:00 CST 2020 0 3478
[Caddy2] Caddyfile 指令

以下是 Caddyfile 的标准指令。 acme_server An embedded ACME server basicauth Enforces HTTP Basic Authentication ...

Sat Jun 13 00:28:00 CST 2020 0 1633
[Caddy2] Caddyfile 概念预览

结构 块: 所有的指令必须在 { } 块中,如果只有一个站点,则块标记可以省略。 全局的配置块可以放在最上方,其次是站点的配置块。 指令: 指令是服务于站点配置的关键词。 关键词和引号: 空格在 Caddyfile 指令中很重要,如果希望带空格的字符为一个值 ...

Sat Jun 13 00:15:00 CST 2020 0 917
[Caddy2] Caddyfile 使用其它 DNS provider

安装 caddy 的 dns provider 模块。 https://github.com/caddy-dns/cloudflare 如果是在 Docker 中 build 模块按文档进行,通过 caddy:2.0.0-builder 安装需要的模块, 然后 COPY ...

Sat Jun 13 05:19:00 CST 2020 0 1286
Caddy – 方便够用的 HTTPS server 新手教程

最近发现了一个 golang 开发的 HTTP server,叫做 Caddy,它配置起来十分简便,甚至可以 28 秒配置好一个支持 http2 的 server ,而且对各种 http 新特性都支持的比较早(比如 http2、quic都有支持 ...

Mon Apr 08 06:04:00 CST 2019 0 2375
 
粤ICP备18138465号  © 2018-2026 CODEPRJ.COM