added example.conf

giskard
David Kebler 2020-10-27 10:11:42 -07:00
parent 87d4316e62
commit b3039b4c66
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,11 @@ handle_errors {
https://example.kebler.net { https://example.kebler.net {
import r53 import r53
root * /opt/caddy/example-web root * /opt/caddy/example-web
templates
file_server file_server
redir / /index.md
redir /index.html /index.md
@mdcheck path *.md
rewrite @mdcheck /template.html
import errors import errors
} }