Files
php/caddy/Caddyfile
李东云 2b3ac3f8d8
All checks were successful
continuous-integration/drone/push Build is passing
feat(caddy): 对外暴露了更多端口
2022-05-11 00:43:07 +08:00

17 lines
262 B
Caddyfile

:80, :443
root * /srv
# 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
}