Blob Blame History Raw
server {
    listen                [::]:80;
    server_name           midipix.org;
    return                301 https://$server_name$request_uri;
}

server {
    listen                [::]:443;
    server_name           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       /home/webroot/midipix.org/ssl/gandi/midipix.org.pem;
    ssl_certificate_key   /home/webroot/midipix.org/ssl/gandi/midipix.org.key;

    include conf.d/ssl_params;
}