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 /home/webroot/midipix.org/ssl/fullchain.pem; ssl_certificate_key /home/webroot/midipix.org/ssl/privkey.pem; ssl_trusted_certificate /home/webroot/midipix.org/ssl/chain.pem; include conf.d/ssl_params; }