Hacker News new | ask | show | jobs
by francislavoie 2109 days ago
To be clear, you can still use the Caddyfile in v2, and frankly it's what I would recommend, especially for a Laravel app. It'll just be as simple as this:

    example.com {
        root * /var/www/public
        encode gzip
        php_fastcgi unix//var/run/php-fpm.sock
        file_server
    }
If you need any more help, please come by the community forums, and I can be sure to get you sorted: https://caddy.community