dead_host.conf 487 B

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