remove route53 until https://github.com/certbot/certbot/pull/5781 or similar is merged

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey
2024-01-12 17:51:11 +01:00
parent b11b43859f
commit f96a4d32a3
8 changed files with 22 additions and 43 deletions

View File

@@ -2,7 +2,7 @@ location /.well-known/acme-challenge/ {
auth_basic off;
auth_request off;
allow all;
alias /tmp/acme-challenge/;
root /tmp/acme-challenge;
}
location = /.well-known/acme-challenge/ {

View File

@@ -4,8 +4,4 @@ more_set_headers "X-Content-Type-Options: nosniff";
more_set_headers "Referrer-Policy: strict-origin-when-cross-origin";
more_set_headers "Content-Security-Policy: $content_security_policy";
map $scheme $hsts_header {
https "max-age=31536000; includeSubDomains; preload";
}
more_set_headers "Strict-Transport-Security: $hsts_header";

View File

@@ -67,6 +67,10 @@ http {
'' "upgrade-insecure-requests";
}
map $scheme $hsts_header {
https "max-age=63072000; includeSubDomains; preload";
}
# Websocket
map $http_upgrade $connection_upgrade {
default upgrade;