summaryrefslogtreecommitdiff
path: root/sites/blog
blob: 44896762a4b42672faf9f0dc449c439efa9473f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
server {
    listen 80;
    return 301 https://$host$request_uri;
}
server {
    listen 443 ssl;

    ssl_certificate /etc/nginx/ssl/kennyballou.com/fullchain.pem;
    ssl_certificate_key /etc/nginx/ssl/kennyballou.com/privkey.pem;

    ssl_session_cache shared:SSL:1m;
    ssl_session_timeout 5m;

    ssl_ciphers HIGH:!aNULL:!MD5;
    ssl_prefer_server_ciphers on;
    ssl_protocols TLSv1.2 TLSv1.1;

    root /srv/www/blog;
    location / {
    }
    error_page 404 /404.html;
}