Files
2018-07-27 11:19:10 +08:00

35 lines
712 B
Caddyfile

https://exchange-staging.izyim.com {
root /app/public
fastcgi / 127.0.0.1:9000 php {
index index.php
}
# To handle .html extensions with laravel change ext to
# ext / .html
rewrite {
r .*
ext /
to /index.php?{query}
}
header / {
Cache-Control no-cache
}
gzip
# browse
log stdout
errors stdout
on startup php-fpm --nodaemonize
# Uncomment to enable TLS (HTTPS)
# Change the first list to listen on port 443 when enabling TLS
tls admin@izyim.com
# To use Lets encrpt tls with a DNS provider uncomment these
# lines and change the provider as required
#tls {
# dns cloudflare
#}
}