Caddy

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(项目)
 
(未显示1个用户的14个中间版本)
第1行: 第1行:
Caddy 是一款 [[Go]] 语言实现的 [[web server|Web 服务器]]
+
{{SeeWikipedia|Caddy (web server)}}
 +
 
 +
Caddy
 +
 
 +
[[文件:Caddy-logo.png|right|Caddy]]
  
 
==简介==
 
==简介==
 +
Caddy 是一款 [[Go]] 语言实现的 [[web server|Web 服务器]]。
 +
 +
Caddy 是一款 Go 语言实现的 Web 服务器和 Web 平台,内置 [[Let's Encrypt]] 和 Automatic HTTPS 支持,采用 Apache v2 许可证。
  
 
==功能==
 
==功能==
 +
[[文件:caddyserver.png|right|Caddy]]
 +
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
  
 
==指南==
 
==指南==
go get github.com/mholt/caddy
+
[https://caddyserver.com/docs/download 下载 Caddy]
  cd bin
+
 
  ./caddy
+
Debian & Ubuntu
  http://localhost:2015/
+
  $ 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 help
 +
$ caddy list-modules
  
 
==HTTPS==
 
==HTTPS==
 
* 内置 [[Let's Encrypt]] 支持
 
* 内置 [[Let's Encrypt]] 支持
 
* [https://caddyserver.com/docs/automatic-https Automatic HTTPS]
 
* [https://caddyserver.com/docs/automatic-https Automatic HTTPS]
 +
 +
==Modules==
 +
[https://caddyserver.com/docs/modules/ Caddy All Modules]
  
 
==项目==
 
==项目==
 +
*[https://github.com/caddyserver/caddy Caddy @ GitHub]
 
*[https://github.com/greenpau/caddy-auth-portal caddy-auth-portal]
 
*[https://github.com/greenpau/caddy-auth-portal caddy-auth-portal]
 +
*[[ERP5]] [https://www.nexedi.com/NXD-Blog.Caddy.HTTP2 How Nexedi moved to HTTP2 with Caddy]
 +
*[https://github.com/caddyserver/xcaddy xcaddy] Custom Caddy Builder
 +
*[https://github.com/corazawaf/coraza-caddy Coraza WAF Caddy Module]
  
 
==图集==
 
==图集==
第25行: 第57行:
 
==链接==
 
==链接==
 
*[https://caddyserver.com/ Caddy官网]
 
*[https://caddyserver.com/ Caddy官网]
*[https://github.com/mholt/caddy Caddy @ GitHub]
+
*[https://caddy.community Caddy Community]
 
*[https://wuwen.org/2015/11/13/caddy-in-action Caddy 部署实践]
 
*[https://wuwen.org/2015/11/13/caddy-in-action Caddy 部署实践]
  
 
[[category:web server]]
 
[[category:web server]]
 
[[category:go]]
 
[[category:go]]
[[category:huihoo]]
+
[[category:Huihoo Foundation]]

2022年4月26日 (二) 09:58的最后版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Caddy Thanks, Wikipedia.

Caddy

Caddy

目录

[编辑] 简介

Caddy 是一款 Go 语言实现的 Web 服务器

Caddy 是一款 Go 语言实现的 Web 服务器和 Web 平台,内置 Let's Encrypt 和 Automatic HTTPS 支持,采用 Apache v2 许可证。

[编辑] 功能

Caddy

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

[编辑] 指南

下载 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 help
$ caddy list-modules

[编辑] HTTPS

[编辑] Modules

Caddy All Modules

[编辑] 项目

[编辑] 图集

[编辑] 链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱