欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2/Agda, C++/Lisp/Haskell
Caddy
来自开放百科 - 灰狐
				
								
				(版本间的差异)
				
																
				
				
								
小 (→项目)  | 
			小 (→指南)  | 
			||
| 第19行: | 第19行: | ||
==指南==  | ==指南==  | ||
[https://caddyserver.com/docs/download 下载 Caddy]  | [https://caddyserver.com/docs/download 下载 Caddy]  | ||
| + | |||
| + | Debian & Ubuntu  | ||
| + |  $ sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https  | ||
| + |  $ curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo apt-key add -  | ||
| + |  $ curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee -a /etc/apt/sources.list.d/caddy-stable.list  | ||
| + |  $ sudo apt update  | ||
| + |  $ sudo apt install caddy  | ||
| + |  $ caddy version  | ||
| + |  $ sudo systemctl start caddy.service  | ||
| + |  http://localhost  | ||
==HTTPS==  | ==HTTPS==  | ||
2021年2月19日 (五) 15:41的版本
目录 | 
简介
Caddy 是一款 Go 语言实现的 Web 服务器和 Web 平台,内置 Let's Encrypt 和 Automatic HTTPS 支持,采用 Apache v2 许可证。
功能
Caddy 是一个功能强大且可扩展的 Web server 和 Server Platform,多数人将其用作 Web 服务器或代理,但对以下各种场景,Caddy 也是极佳选择:
- web server
 - reverse proxy
 - sidecar proxy
 - load balancer
 - API gateway
 - ingress controller
 - system manager
 - process supervisor
 - task scheduler
 - any long-running process
 
指南
Debian & Ubuntu
$ sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https $ curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo apt-key add - $ curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee -a /etc/apt/sources.list.d/caddy-stable.list $ sudo apt update $ sudo apt install caddy $ caddy version $ sudo systemctl start caddy.service http://localhost
HTTPS
- 内置 Let's Encrypt 支持
 - Automatic HTTPS
 
Modules
项目
图集
链接
	分享您的观点