dead_host.conf 454 B

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