Skip to content

Commit b1ec5b8

Browse files
authored
Merge pull request laradock#186 from computerfr33k/caddy
Update Caddyfile
2 parents 6e07061 + 97057f2 commit b1ec5b8

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

caddy/Caddyfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
# Docs: https://caddyserver.com/docs/caddyfile
22
0.0.0.0:80
3-
fastcgi / php-fpm:9000 php
3+
root /var/www/laravel/public
4+
fastcgi / php-fpm:9000 php {
5+
index index.php
6+
}
47
rewrite {
8+
r .*
9+
ext /
510
to /index.php?{query}
611
}
712
browse
813
log stdout
9-
errors stdout
14+
errors stderr
1015
# Uncomment to enable TLS (HTTPS)
1116
# Change the first list to listen on port 443 when enabling TLS
1217
#tls self_signed

0 commit comments

Comments
 (0)