summaryrefslogtreecommitdiffstats
path: root/tozt/tozt/files/nginx/blog-tls.conf
blob: 094d5b74a187dcadcb75e4157b07d35110907353 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
server {
    listen       443;
    server_name  blog.tozt.net;

    access_log   /var/log/nginx/blog.access.log;
    error_log    /var/log/nginx/blog.error.log;

    include ssl;

    rewrite      ^(.*) https://tozt.net/blog$1 permanent;
}
# vim:ft=nginx