dead_host.conf 389 B

12345678910111213141516171819202122
  1. {% include "_header_comment.conf" %}
  2. {% if enabled %}
  3. server {
  4. {% include "_listen.conf" %}
  5. {% include "_certificates.conf" %}
  6. {% include "_hsts.conf" %}
  7. access_log /data/logs/dead_host-{{ id }}.log standard;
  8. {{ advanced_config }}
  9. {% if use_default_location %}
  10. location / {
  11. {% include "_forced_ssl.conf" %}
  12. {% include "_hsts.conf" %}
  13. return 404;
  14. }
  15. {% endif %}
  16. }
  17. {% endif %}