File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -22,5 +22,7 @@ server {
22
22
}
23
23
{% endif %}
24
24
25
+ # Custom
26
+ include /data/nginx/custom/server_dead[.]conf;
25
27
}
26
28
{% endif %}
Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ You can add your custom configuration snippet files at `/data/nginx/custom` as f
181
181
- `/data/nginx/custom/server_stream.conf` : Included at the end of every stream server block
182
182
- `/data/nginx/custom/server_stream_tcp.conf` : Included at the end of every TCP stream server block
183
183
- `/data/nginx/custom/server_stream_udp.conf` : Included at the end of every UDP stream server block
184
+ - `/data/nginx/custom/server_dead.conf` : Included at the end of every 404 server block
184
185
185
186
Every file is optional.
186
187
You can’t perform that action at this time.
0 commit comments