Untitled
raw download clone
TEXT
views 40
,
size 797 b
server {

listen       1.2.3.4:443 ssl http2;
server_name  www.moja-domena.pl;
root         root /var/www/html;
index        index.html index.htm;

access_log   /var/log/nginx/www.moja-domena.pl.log;
error_log    /var/log/nginx/www.moja-domena.pl.log error;

ssl_certificate_key /etc/nginx/ssl/www.moja-domena.pl.key;
ssl_certificate     /etc/nginx/ssl/www.moja-domena.pl.pem;

ssl_protocols TLSv1.2;
ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';
ssl_prefer_server_ciphers on;

add_header Strict-Transport-Security max-age=31536000;

}
close fullscreen
Login or Register to edit or fork this paste. It's free.