2023-06-19 11:27:48 -07:00
|
|
|
#/etc/nginx/stream.conf
|
2023-05-26 12:05:53 -07:00
|
|
|
|
2023-06-19 11:27:48 -07:00
|
|
|
load_module /usr/lib64/nginx/modules/ngx_stream_module.so;
|
2023-05-26 12:05:53 -07:00
|
|
|
|
|
|
|
|
2023-06-19 11:27:48 -07:00
|
|
|
stream {
|
|
|
|
map $ssl_preread_server_name $target_host {
|
|
|
|
cuddlefish.ssh.michael.com 127.0.0.1:22;
|
|
|
|
rocktiplex.ssh.michaellisano.com 192.168.1.19:22;
|
|
|
|
default 127.0.0.1:22;
|
2023-05-26 12:05:53 -07:00
|
|
|
}
|
|
|
|
|
2023-06-19 11:27:48 -07:00
|
|
|
server {
|
|
|
|
listen 2200;
|
|
|
|
proxy_pass $backend;
|
|
|
|
ssl_preread on
|
2023-05-26 12:05:53 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|