mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-18 07:24:33 +00:00
Moved v3 code from NginxProxyManager/nginx-proxy-manager-3 to NginxProxyManager/nginx-proxy-manager
This commit is contained in:
20
backend/embed/nginx/dead_host.conf.hbs
Normal file
20
backend/embed/nginx/dead_host.conf.hbs
Normal file
@ -0,0 +1,20 @@
|
||||
{{#if enabled}}
|
||||
server {
|
||||
{{> inc_listen}}
|
||||
{{> inc_certificates}}
|
||||
{{> inc_hsts}}
|
||||
{{> inc_forced_ssl}}
|
||||
|
||||
access_log {{npm_data_dir}}/logs/dead-host-{{id}}_access.log standard;
|
||||
error_log {{npm_data_dir}}/logs/dead-host-{{id}}_error.log warn;
|
||||
|
||||
{{advanced_config}}
|
||||
|
||||
{{#if use_default_location}}
|
||||
location / {
|
||||
{{> inc_hsts}}
|
||||
return 404;
|
||||
}
|
||||
{{/if}}
|
||||
}
|
||||
{{/if}}
|
Reference in New Issue
Block a user