summaryrefslogtreecommitdiff
path: root/public/fs/etc/nginx/vhosts.d/dl.midipix.org.conf
blob: 6e00c1c6c7ad681e1818cafee7eb29d76c2a6650 (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;
    server_name           dl.midipix.org;
    return                301 https://$server_name$request_uri;
}

server {
    listen                [::]:443;
    server_name           dl.midipix.org;

    location / {
        root              /srv/www/htdocs/midipix.org/dl;
        fancyindex        on;
        ssi               on;
    }

    ssl_certificate           /home/webroot/midipix.org/ssl/fullchain.pem;
    ssl_certificate_key       /home/webroot/midipix.org/ssl/privkey.pem;
    ssl_trusted_certificate   /home/webroot/midipix.org/ssl/chain.pem;

    include conf.d/ssl_params;
}