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 服务器

目录

简介

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

指南

下载 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

Modules

Caddy All Modules

项目

图集

链接

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

变换
操作
导航
工具箱