mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-02 15:33:32 +00:00
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:
@@ -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/ {
|
||||
|
@@ -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";
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user