skobkin
C++
2015.10.18 17:01
Конфиг сайта с HTTP/2
server {
        listen 443 ssl http2;
        server_name skobk.in skobkin.i2p rv7pcbp5izoyhtuqkkjry3uyppv33w7vksupjax5wao3dkdxjxga.b32.i2p;
 
        access_log /.../access-ssl.log;
        error_log /.../nerror-ssl.log;
 
        charset utf-8;
 
        root /.../public_html;
 
        gzip            on;
        gzip_min_length 1000;
        gzip_proxied    expired no-cache no-store private auth;
        gzip_types      text/plain application/xml;
 
        include wordpress.conf;
 
        # SSL Options
        ssl on;
        ssl_certificate /.../ssl-bundle.crt;
        ssl_certificate_key /.../skobk_in.key;
 
        # SSL Session
        ssl_session_cache   shared:SSL:20m;
        ssl_session_timeout 10m;
        ssl_prefer_server_ciphers on;
        ssl_stapling on;
        resolver 8.8.8.8 8.8.4.4 valid=300s;
        resolver_timeout 10s;
        keepalive_timeout   60;
 
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers  'EECDH+ECDSA+AESGCM:AES128+EECDH:AES128+EDH:!RC4:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!CAMELLIA:!ADH';
        add_header Strict-Transport-Security 'max-age=604800';
}