mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-02 15:33:32 +00:00
27 lines
567 B
Plaintext
27 lines
567 B
Plaintext
{% include "_header_comment.conf" %}
|
|
|
|
{% if enabled %}
|
|
server {
|
|
{% include "_listen.conf" %}
|
|
{% include "_certificates.conf" %}
|
|
{% include "_hsts.conf" %}
|
|
{% include "_forced_tls.conf" %}
|
|
{% include "_brotli.conf" %}
|
|
|
|
{{ advanced_config }}
|
|
include conf.d/include/acme-challenge.conf;
|
|
include conf.d/include/block-exploits.conf;
|
|
{% if use_default_location %}
|
|
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 %}
|