server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name {{ domain }}; ssl on; ssl_certificate {{ acme_certificate_location }}; ssl_certificate_key {{ acme_key_location }}; index index.html index.htm; root {{ root_directory }}; include {{ nginx_snippets_directory }}/https; include {{ nginx_snippets_directory }}/root; location / { try_files $uri $uri/ =404; } }