27 lines
518 B
Text
27 lines
518 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/dead;
|
|
try_files $uri /index.html;
|
|
}
|
|
{%- endif %}
|
|
|
|
# Custom
|
|
include /data/nginx_custom/server_dead.conf;
|
|
|
|
}
|
|
{%- endif %}
|