1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 16:50:09 +01:00
Files
laravel-valet/cli/stubs/SecureCaddyfile
2016-09-28 11:43:52 +02:00

32 lines
519 B
Plaintext

http://VALET_SITE:80 {
redir https://{host}{uri}
}
https://VALET_SITE:443 {
tls VALET_CERT VALET_KEY
fastcgi / /var/run/fpm-valet.socket 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
}
}
}