From bd5e997e3bd624f349129165a448b19d50bbaeb6 Mon Sep 17 00:00:00 2001 From: Matt Kilgore Date: Fri, 23 Oct 2020 19:51:31 -0400 Subject: [PATCH] Updates Caddy config example to work --- docs/install.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/install.md b/docs/install.md index 2d6f4434e..e256d0050 100644 --- a/docs/install.md +++ b/docs/install.md @@ -68,14 +68,13 @@ Caddy requires a very simple configuration in order for Flarum to work properly. ``` www.example.com { root * /var/www/flarum/public - try_files {path} {path}/ /index.php - php_fastcgi / /var/run/php/php7.4-fpm.sock php + php_fastcgi unix//var/run/php/php7.4-fpm.sock header /assets { +Cache-Control "public, must-revalidate, proxy-revalidate" +Cache-Control "max-age=25000" - Pragma "public" + Pragma "public" } - encode gzip + file_server } ``` ## Folder Ownership