server { listen [::]:80; server_name culturestrings.org; return 301 https://$server_name$request_uri; } server { listen [::]:443; server_name culturestrings.org; location /typography { 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/fullchain.pem; ssl_certificate_key /etc/nginx/certs.d/culturestrings.org/ssl/privkey.pem; include conf.d/ssl_params; }