Skip to content

Commit 1faac4e

Browse files
authored
Merge pull request #750 from klutchell/klutchell-patch-1
allow custom stream conf
2 parents 4c60dce + 6bd2ac7 commit 1faac4e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docker/rootfs/etc/nginx/nginx.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ http {
8484
stream {
8585
# Files generated by NPM
8686
include /data/nginx/stream/*.conf;
87+
88+
# Custom
89+
include /data/nginx/custom/stream[.]conf;
8790
}
8891

8992
# Custom

docs/advanced-config/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ You can add your custom configuration snippet files at `/data/nginx/custom` as f
2424

2525
- `/data/nginx/custom/root.conf`: Included at the very end of nginx.conf
2626
- `/data/nginx/custom/http.conf`: Included at the end of the main http block
27+
- `/data/nginx/custom/stream.conf`: Included at the end of the main stream block
2728
- `/data/nginx/custom/server_proxy.conf`: Included at the end of every proxy server block
2829
- `/data/nginx/custom/server_redirect.conf`: Included at the end of every redirection server block
2930
- `/data/nginx/custom/server_stream.conf`: Included at the end of every stream server block

0 commit comments

Comments
 (0)