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