server { listen 443; listen [::]:443; ssl_certificate /etc/lego/certificates/_.babyl.ca.crt; ssl_certificate_key /etc/lego/certificates/_.babyl.ca.key; server_name bgg.babyl.ca; access_log /var/log/nginx/bgg.log; error_log /var/log/nginx/bgg-error.log; client_max_body_size 10M; root /home/bggsell/public_html; index index.html; location / { try_files $uri $uri/ $uri.html /index.html =404; } location /db/ { alias /home/bggsell/db/; } }