blackbirdchess-docker-dev/caddy/Caddyfile
Eric Pfeiffer 97057f259c Update Caddyfile
fixes 404 errors for files in the public folder, such as css or js files.
2016-07-26 17:16:25 -05:00

18 lines
342 B
Caddyfile

# Docs: https://caddyserver.com/docs/caddyfile
0.0.0.0:80
root /var/www/laravel/public
fastcgi / php-fpm:9000 php {
index index.php
}
rewrite {
r .*
ext /
to /index.php?{query}
}
browse
log stdout
errors stderr
# Uncomment to enable TLS (HTTPS)
# Change the first list to listen on port 443 when enabling TLS
#tls self_signed