Caddyfile 是干什么的?
Caddyfile 是干什么的?
The Caddyfile is a convenient Caddy configuration format for humans.
It is most people's favorite way to use Caddy because it is easy to write, easy to understand, and expressive enough for most use cases.
example.com
root * /var/www/wordpress
php_fastcgi unix//run/php/php-version-fpm.sock
file_server
https://caddyserver.com/docs/caddyfile
Caddy
web server + HTTPS + Go
Caddy 2 is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go
https://caddyserver.com
demo
192.168.31.22 {
file_server
}
https://www.imooc.com/qadetail/348790
refs
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/13720980.html
未经授权禁止转载,违者必究!