server { listen 80; listen [::]:80; server_name {{ http_openlayers_external }} {{ http_openlayers_internal }}; include /etc/nginx/snippets/gzip.conf; include /etc/nginx/snippets/letsencrypt-acme-challenge.conf; root {{ openlayers_path }}; location / { autoindex on; } } server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name {{ http_openlayers_external }} {{ http_openlayers_internal }}; ssl_certificate /etc/nginx/ssl/{{ inventory_hostname_short }}.{{ http_domain_external }}/fullchain.pem; ssl_certificate_key /etc/nginx/ssl/{{ inventory_hostname_short }}.{{ http_domain_external }}/privkey.pem; include /etc/nginx/snippets/gzip.conf; include /etc/nginx/snippets/letsencrypt-acme-challenge.conf; root {{ openlayers_path }}; location / { autoindex on; } }