nginx-proxy-manager/backend/templates/dead_host.conf
renovate[bot] 132623891a
dep updates/see description
little php design preview (dead host/default page/fancyindex)
improved "exploit blocking"
fancyindex now default off
block access to .git folders/files
change NGINX_404_REDIRECT default to false
2024-06-09 15:20:13 +02:00

27 lines
569 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/always.conf;
{{ advanced_config }}
{% if use_default_location == 1 or use_default_location == true %}
location / {
include conf.d/include/always.conf;
root /html/dead;
try_files $uri /index.html;
}
{% endif %}
# Custom
include /data/nginx/custom/server_dead.conf;
}
{% endif %}