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 {
2222 }
2323{% endif %}
2424
25+ # Custom
26+ include /data/nginx/custom/server_dead[.]conf;
2527}
2628{% 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
181181 - `/data/nginx/custom/server_stream.conf` : Included at the end of every stream server block
182182 - `/data/nginx/custom/server_stream_tcp.conf` : Included at the end of every TCP stream server block
183183 - `/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
184185
185186Every file is optional.
186187
You can’t perform that action at this time.
0 commit comments