22 lines
274 B
Plaintext
22 lines
274 B
Plaintext
|
#!/bin/bash
|
||
|
(r53) {
|
||
|
tls {
|
||
|
dns route53 {
|
||
|
max_retries 10
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
(errors) {
|
||
|
handle_errors {
|
||
|
rewrite * /{http.error.status_code}.html
|
||
|
file_server
|
||
|
}
|
||
|
}
|
||
|
|
||
|
https://testweb.kebler.net {
|
||
|
import r53
|
||
|
root * /opt/caddy/testweb
|
||
|
file_server
|
||
|
import errors
|
||
|
}
|