Initial Nginx SNI stream map support

This commit is contained in:
Samuel Huang
2024-09-12 15:21:19 +10:00
parent 289ec93315
commit 0f83efa5b5
4 changed files with 182 additions and 80 deletions

15
nginx-stream.tpl Normal file
View File

@@ -0,0 +1,15 @@
#STSTUB
stream {
map $ssl_preread_server_name $stream_map {
#MAPSTUB
}
#UPSSTUB
server {
listen STPORT reuseport;
proxy_pass $stream_map;
ssl_preread on;
}
}