diff --git a/webserver-configs/Caddyfile b/webserver-configs/Caddyfile index 288f8df8c..4b2514d1d 100644 --- a/webserver-configs/Caddyfile +++ b/webserver-configs/Caddyfile @@ -1,9 +1,12 @@ -:8080 +# To use this file simply install caddy and run the command below from the root of your Grav site +# $ caddy run --config webserver-configs/Caddyfile +localhost encode gzip -root * /path/to/grav/root -php_fastcgi unix//run/php/php7.3-fpm.sock +root * . file_server +php_fastcgi 127.0.0.1:9000 + # Begin - Security # deny all direct access for these folders rewrite /(\.git|cache|bin|logs|backups|tests)/.* /403