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

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

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

    ssl_certificate           /srv/webroot/foss21.org/ssl/fullchain.pem;
    ssl_certificate_key       /srv/webroot/foss21.org/ssl/privkey.pem;
    ssl_trusted_certificate   /srv/webroot/foss21.org/ssl/chain.pem;

    include conf.d/ssl_params;
}