mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 23:04:05 -06:00
fix formatting in hosting.md
This commit is contained in:
parent
fb3fbacc86
commit
7a5e3e4d57
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user