diff --git a/conf/238lights.conf b/conf/238lights.conf index e6630c2..3d979a6 100644 --- a/conf/238lights.conf +++ b/conf/238lights.conf @@ -1,12 +1,16 @@ #!/bin/bash (r53) { - tls { - dns lego_deprecated route53 - } + tls { + dns route53 { + max_retries 10 + } + } } -# Main http/https redirect for anything arriving on port 80/http -*.kebler.net:80 { - redir https://{label1}.kebler.net{uri} +(errors) { +handle_errors { + rewrite * /{http.error.status_code}.html + file_server + } } # Dev Lights Frontend Server diff --git a/conf/645lights.conf b/conf/645lights.conf index 8006600..1d55fca 100644 --- a/conf/645lights.conf +++ b/conf/645lights.conf @@ -1,12 +1,16 @@ #!/bin/bash (r53) { - tls { - dns lego_deprecated route53 - } + tls { + dns route53 { + max_retries 10 + } + } } -# Main http/https redirect for anything arriving on port 80/http -*.kebler.net:80 { - redir https://{label1}.kebler.net{uri} +(errors) { +handle_errors { + rewrite * /{http.error.status_code}.html + file_server + } } # Dev Lights Frontend Server diff --git a/conf/nadal.conf b/conf/nadal.conf index 11b5111..1dee03c 100644 --- a/conf/nadal.conf +++ b/conf/nadal.conf @@ -1,12 +1,16 @@ #!/bin/bash (r53) { - tls { - dns lego_deprecated route53 - } + tls { + dns route53 { + max_retries 10 + } + } } -# Main http/https redirect for anything arriving on port 80/http -*.kebler.net:80 { - redir https://{label1}.kebler.net{uri} +(errors) { +handle_errors { + rewrite * /{http.error.status_code}.html + file_server + } } # Git Server diff --git a/conf/trantor.conf b/conf/trantor.conf index 1d9e807..70851e8 100644 --- a/conf/trantor.conf +++ b/conf/trantor.conf @@ -1,12 +1,16 @@ #!/bin/bash (r53) { - tls { - dns lego_deprecated route53 - } + tls { + dns route53 { + max_retries 10 + } + } } -# Main http/https redirect for anything arriving on port 80/http -*.kebler.net:80 { - redir https://{label1}.kebler.net{uri} +(errors) { +handle_errors { + rewrite * /{http.error.status_code}.html + file_server + } } # Git Server