init: 🎉 初始化了仓库和 7.4-caddy
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
李东云
2022-05-10 20:18:20 +08:00
commit 9479b2a5f9
4 changed files with 141 additions and 0 deletions

16
caddy/7.4/Caddyfile Normal file
View File

@@ -0,0 +1,16 @@
localhost
root * /app/public
# https://caddyserver.com/docs/caddyfile/directives/php_fastcgi
php_fastcgi localhost:9000 {
try_files {path} {path}/index.php =404
}
file_server
handle_errors {
root * /etc/caddy/error
rewrite * /error.html
templates
file_server
}