From 7a5e3e4d57641546895ee8cf30174dcc88f96da6 Mon Sep 17 00:00:00 2001 From: Jules Kreuer <25013642+not-a-feature@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:41:06 +0100 Subject: [PATCH] fix formatting in hosting.md --- docs/hosting.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/hosting.md b/docs/hosting.md index 33a4635a1..8b6fe5363 100644 --- a/docs/hosting.md +++ b/docs/hosting.md @@ -247,6 +247,7 @@ server { } ``` ### Using Apache + Here's an example of how to do this with Apache: ```apache title=".htaccess" @@ -264,6 +265,7 @@ RewriteRule ^(.*)$ $1.html [L] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.*)/$ $1/index.html [L] ``` + Don't forget to activate brotli / gzip compression. ### Using Caddy