caddy-retired/conf/example.conf

22 lines
282 B
Plaintext
Raw Normal View History

#!/bin/bash
(r53) {
tls {
dns route53 {
max_retries 10
}
}
}
(errors) {
handle_errors {
rewrite * /{http.error.status_code}.html
file_server
}
}
2020-10-26 10:43:32 -07:00
https://example.<mydomain.com> {
import r53
2020-10-26 10:43:32 -07:00
root * /opt/caddy/example-web
file_server
import errors
}