From 0ee3871f7f42eecbf7a4dbb95f94cc4993782022 Mon Sep 17 00:00:00 2001 From: David Kebler Date: Thu, 2 Jul 2020 07:45:37 -0700 Subject: [PATCH] update all conf for new route 53 snippet and removed https redirect as no longer needed --- conf/238lights.conf | 16 ++++++++++------ conf/645lights.conf | 16 ++++++++++------ conf/nadal.conf | 16 ++++++++++------ conf/trantor.conf | 16 ++++++++++------ 4 files changed, 40 insertions(+), 24 deletions(-) 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