{% include "_header_comment.conf" %}

server {
  listen 80;
{% if ipv6 -%}
  listen [::]:80;
{% endif %}

  server_name {{ domain_names | join: " " }};

  access_log /data/logs/letsencrypt-requests_access.log standard;
  error_log /data/logs/letsencrypt-requests_error.log warn;

  include conf.d/include/letsencrypt-acme-challenge.conf;

  location / {
    return 404;
  }
}
