28 lines
547 B
Text
28 lines
547 B
Text
{%- include "_header_comment.conf" %}
|
|
|
|
{%- if enabled %}
|
|
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 %}
|
|
location / {
|
|
include conf.d/include/always.conf;
|
|
root /html/404deadpage;
|
|
error_page 404 /404deadpage.html;
|
|
return 404;
|
|
}
|
|
{%- endif %}
|
|
|
|
# Custom
|
|
include /data/nginx_custom/server_dead.conf;
|
|
|
|
}
|
|
{%- endif %}
|