nginx-proxy-manager/backend/templates/dead_host.conf
2024-05-23 15:30:23 +02:00

28 lines
628 B
Text

{% include "_header_comment.conf" %}
{% if enabled == 1 or enabled == true %}
server {
{% include "_listen.conf" %}
{% include "_certificates.conf" %}
{% include "_hsts.conf" %}
{% include "_forced_tls.conf" %}
{% include "_brotli.conf" %}
include conf.d/include/acme-challenge.conf;
include conf.d/include/block-exploits.conf;
{{ advanced_config }}
{% if use_default_location == 1 or use_default_location == true %}
location / {
include conf.d/include/acme-challenge.conf;
root /html/404;
try_files $uri /index.html;
}
{% endif %}
# Custom
include /data/nginx/custom/server_dead.conf;
}
{% endif %}