Skip to content

Instantly share code, notes, and snippets.

@ziadoz
Created July 5, 2020 18:04
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ziadoz/f379963068f6245ee32de4f43dc3fd76 to your computer and use it in GitHub Desktop.
Save ziadoz/f379963068f6245ee32de4f43dc3fd76 to your computer and use it in GitHub Desktop.
Laravel Caddy v2 Caddyfile
example.com {
root * /var/www/vhosts/example.com/public
php_fastcgi unix//var/run/php/php7.4-fpm.sock
file_server
encode zstd gzip
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment