server
{
  server_name {{domains[application_id]}};
  
  {% include 'roles/letsencrypt/templates/ssl_header.j2' %}

  {% include 'roles/nginx-modifier-all/templates/global.includes.conf.j2'%}

  {% include 'roles/nginx-docker-reverse-proxy/templates/headers/iframe.conf.j2' %}
  charset utf-8;
  
  location /
  {
    root {{nginx.directories.data.html}};
    index index.html index.htm;
  }

  location /.well-known/ {
    alias {{nginx.directories.data.well_known}};
    allow all;
    default_type "text/plain";
    autoindex on;
  }
}
