update all conf for new route 53 snippet and removed https redirect as no longer needed

giskard
David Kebler 2020-07-02 07:45:37 -07:00
parent 9e0603831e
commit 0ee3871f7f
4 changed files with 40 additions and 24 deletions

View File

@ -1,12 +1,16 @@
#!/bin/bash #!/bin/bash
(r53) { (r53) {
tls { tls {
dns lego_deprecated route53 dns route53 {
max_retries 10
} }
} }
# Main http/https redirect for anything arriving on port 80/http }
*.kebler.net:80 { (errors) {
redir https://{label1}.kebler.net{uri} handle_errors {
rewrite * /{http.error.status_code}.html
file_server
}
} }
# Dev Lights Frontend Server # Dev Lights Frontend Server

View File

@ -1,12 +1,16 @@
#!/bin/bash #!/bin/bash
(r53) { (r53) {
tls { tls {
dns lego_deprecated route53 dns route53 {
max_retries 10
} }
} }
# Main http/https redirect for anything arriving on port 80/http }
*.kebler.net:80 { (errors) {
redir https://{label1}.kebler.net{uri} handle_errors {
rewrite * /{http.error.status_code}.html
file_server
}
} }
# Dev Lights Frontend Server # Dev Lights Frontend Server

View File

@ -1,12 +1,16 @@
#!/bin/bash #!/bin/bash
(r53) { (r53) {
tls { tls {
dns lego_deprecated route53 dns route53 {
max_retries 10
} }
} }
# Main http/https redirect for anything arriving on port 80/http }
*.kebler.net:80 { (errors) {
redir https://{label1}.kebler.net{uri} handle_errors {
rewrite * /{http.error.status_code}.html
file_server
}
} }
# Git Server # Git Server

View File

@ -1,12 +1,16 @@
#!/bin/bash #!/bin/bash
(r53) { (r53) {
tls { tls {
dns lego_deprecated route53 dns route53 {
max_retries 10
} }
} }
# Main http/https redirect for anything arriving on port 80/http }
*.kebler.net:80 { (errors) {
redir https://{label1}.kebler.net{uri} handle_errors {
rewrite * /{http.error.status_code}.html
file_server
}
} }
# Git Server # Git Server