summaryrefslogtreecommitdiff
path: root/public/fs/etc/nginx/vhosts.d/www.midipix.org.conf
blob: d9178adef9a969e339dd723ce164c767fa70f67e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
server {
    listen                [::]:80;
    server_name           www.midipix.org;
    return                301 https://$server_name$request_uri;
}

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

    location /dl {
        root              /srv/www/htdocs/$host;
        fancyindex        on;
        ssi               on;
    }

    location /mirror {
        root              /srv/www/htdocs/$host;
        fancyindex        on;
        ssi               on;
    }

    location / {
        root              /srv/www/htdocs/$host/;
        index             index.html index.htm;
        ssi               on;
    }

    ssl_certificate       /etc/nginx/certs.d/culturestrings.org/ssl/gandi/midipix.org.pem;
    ssl_certificate_key   /etc/nginx/certs.d/culturestrings.org/ssl/gandi/midipix.org.key;

    include conf.d/ssl_params;
}