mirror of
https://github.com/samuelhbne/server-xray.git
synced 2025-12-17 20:34:39 +03:00
Initial Nginx SNI stream map support
This commit is contained in:
15
nginx-stream.tpl
Normal file
15
nginx-stream.tpl
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user