Skip to content

Commit a811a9b

Browse files
committed
Merge upstream changes
2 parents ac2c96f + 7e22c38 commit a811a9b

File tree

9 files changed

+420
-21
lines changed

9 files changed

+420
-21
lines changed

docs/hosting.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,3 +250,21 @@ server {
250250
}
251251
}
252252
```
253+
254+
### Using Caddy
255+
256+
Here's and example of how to do this with Caddy:
257+
258+
```caddy title="Caddyfile"
259+
example.com {
260+
root * /path/to/quartz/public
261+
try_files {path} {path}.html {path}/ =404
262+
file_server
263+
encode gzip
264+
265+
handle_errors {
266+
rewrite * /{err.status_code}.html
267+
file_server
268+
}
269+
}
270+
```

0 commit comments

Comments
 (0)