all vhosts
This commit is contained in:
@@ -13,32 +13,6 @@ server {
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name www.postfix.solusar.de;
|
||||
|
||||
location / {
|
||||
return 301 https://postfix.solusar.de$request_uri;
|
||||
}
|
||||
|
||||
#ssl on;
|
||||
ssl_certificate /etc/letsencrypt/live/postfix.solusar.de/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/postfix.solusar.de/privkey.pem;
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/postfix.solusar.de/fullchain.pem;
|
||||
|
||||
ssl_dhparam /etc/myssl/dh4096.pem;
|
||||
ssl_protocols TLSv1.2;
|
||||
ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK';
|
||||
ssl_session_timeout 5m;
|
||||
ssl_prefer_server_ciphers on;
|
||||
ssl_session_cache shared:SSL:50m;
|
||||
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
|
||||
add_header X-Frame-Options "SAMEORIGIN";
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header X-XSS-Protection "1; mode=block";
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user