mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 15:05:42 -05:00
fix formatting in hosting.md
This commit is contained in:
parent
fb3fbacc86
commit
7a5e3e4d57
@ -247,6 +247,7 @@ server {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
### Using Apache
|
### Using Apache
|
||||||
|
|
||||||
Here's an example of how to do this with Apache:
|
Here's an example of how to do this with Apache:
|
||||||
|
|
||||||
```apache title=".htaccess"
|
```apache title=".htaccess"
|
||||||
@ -264,6 +265,7 @@ RewriteRule ^(.*)$ $1.html [L]
|
|||||||
RewriteCond %{REQUEST_FILENAME} -d
|
RewriteCond %{REQUEST_FILENAME} -d
|
||||||
RewriteRule ^(.*)/$ $1/index.html [L]
|
RewriteRule ^(.*)/$ $1/index.html [L]
|
||||||
```
|
```
|
||||||
|
|
||||||
Don't forget to activate brotli / gzip compression.
|
Don't forget to activate brotli / gzip compression.
|
||||||
|
|
||||||
### Using Caddy
|
### Using Caddy
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user