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

server {
    listen                [::]:443;
    server_name           @sitesubd@;

    location / {
        root              /srv/www/htdocs/@sitezone@/@sitepref@;
        fancyindex        on;
        ssi               on;
    }

    ssl_certificate           /srv/webroot/@sitezone@/ssl/fullchain.pem;
    ssl_certificate_key       /srv/webroot/@sitezone@/ssl/privkey.pem;
    ssl_trusted_certificate   /srv/webroot/@sitezone@/ssl/chain.pem;

    include conf.d/ssl_params;
}