summaryrefslogtreecommitdiff
path: root/etc/nginx/conf.d/talerssl
blob: 8fd5d446ea64944c5e72114d435d149e46bff0b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
ssl_certificate /etc/letsencrypt/live/taler.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/taler.net/privkey.pem;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_dhparam /etc/ssl/certs/dhparam.pem;
ssl_protocols TLSv1.2 TLSv1.1 TLSv1;
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';

add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
add_header X-XSS-Protection "1; mode=block";
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; connect-src 'self' wss://taler.net";