blackbirdchess-docker-dev/caddy/Caddyfile

18 lines
342 B
Caddyfile
Raw Normal View History

2016-07-20 04:51:20 +02:00
# 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}
}
2016-07-20 04:51:20 +02:00
browse
log stdout
errors stderr
2016-07-20 04:51:20 +02:00
# Uncomment to enable TLS (HTTPS)
# Change the first list to listen on port 443 when enabling TLS
#tls self_signed