1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 08:30:07 +01:00
Files
laravel-valet/cli/stubs/SecureCaddyfile
2016-08-18 19:06:36 -04:00

37 lines
611 B
Plaintext

http://VALET_SITE:80 {
redir https://{host}{uri}
}
https://VALET_SITE:443 {
root /
# Slight hack, see: https://github.com/mholt/caddy/issues/1020
internal /dev/null
tls VALET_CERT VALET_KEY
fastcgi / 127.0.0.1:9000 php {
index VALET_SERVER_PATH
}
rewrite {
to VALET_SERVER_PATH?{query}
}
log VALET_HOME_PATH/Log/access.log {
rotate {
size 10
age 3
keep 1
}
}
errors {
log VALET_HOME_PATH/Log/error.log {
size 10
age 3
keep 1
}
}
}