summaryrefslogtreecommitdiff
path: root/sites/blog
blob: a6ea85d0a052bfda2fa961116bc324d6f503a8b7 (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.crt;
    ssl_certificate_key /etc/nginx/ssl/kennyballou.com.key;

    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;
}