summaryrefslogtreecommitdiff
path: root/public/fs/etc/nginx/vhosts.d/mirror.midipix.org.conf
blob: 7a5c1b939e0b26219ce4467f59b99e9128da91e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
server {
    listen                [::]:80;
    server_name           mirror.midipix.org;
    return                301 https://$server_name$request_uri;
}

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

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

    ssl_certificate       /etc/nginx/certs.d/culturestrings.org/ssl/fullchain.pem;
    ssl_certificate_key   /etc/nginx/certs.d/culturestrings.org/ssl/privkey.pem;

    include conf.d/ssl_params;
}