This commit is contained in:
16
caddy/7.4/Caddyfile
Normal file
16
caddy/7.4/Caddyfile
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user