# Docs: https://caddyserver.com/docs/caddyfile https://exchange-staging.izyim.com { root /var/www/public fastcgi / 127.0.0.1:9000 php { index index.php } # To handle .html extensions with laravel change ext to # ext / .html rewrite { to {path} {path}/ /index.php?{query} } 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 #} }