htz.ex42-1048908: add missing domains
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2020-07-19 11:26:12 +02:00
parent 94c2c644a6
commit de632a7725
Signed by: kunsi
GPG key ID: 12E3D2136B818350
7 changed files with 120 additions and 1 deletions

View file

@ -8,7 +8,6 @@ events {
worker_connections ${worker_connections};
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
@ -31,5 +30,10 @@ http {
client_max_body_size 8m;
large_client_header_buffers 2 1k;
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
include /etc/nginx/sites/*;
}

View file

@ -17,9 +17,12 @@ server {
ssl_stapling_verify on;
add_header Strict-Transport-Security "max-age=31104000; preload";
% if not do_not_set_content_security_headers:
add_header Referrer-Policy same-origin;
add_header X-Frame-Options "DENY";
add_header X-Content-Type-Options nosniff;
% endif
location /.well-known/acme-challenge/ {
alias /var/lib/dehydrated/acme-challenges/;