Files
php/caddy/Caddyfile

17 lines
257 B
Caddyfile
Raw Normal View History

: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
}