nginx-proxy-manager-zh/backend/templates/dead_host.conf

24 lines
454 B
Plaintext
Raw Normal View History

2018-08-16 19:25:59 -04:00
{% include "_header_comment.conf" %}
{% if enabled %}
server {
2018-08-16 19:59:02 -04:00
{% include "_listen.conf" %}
{% include "_certificates.conf" %}
2019-02-18 03:21:45 -05:00
{% include "_hsts.conf" %}
{% include "_forced_ssl.conf" %}
2021-06-29 14:40:36 -04:00
access_log /data/logs/dead_host-{{ id }}/access.log standard;
error_log /data/logs/dead_host-{{ id }}/error.log warn;
{{ advanced_config }}
{% if use_default_location %}
2019-02-18 03:21:45 -05:00
location / {
{% include "_hsts.conf" %}
return 404;
}
{% endif %}
}
{% endif %}