michaelnet/cuddlefish/nginx.conf

20 lines
341 B
Nginx Configuration File
Raw Normal View History

#/etc/nginx/stream.conf
2023-05-26 12:05:53 -07:00
load_module /usr/lib64/nginx/modules/ngx_stream_module.so;
2023-05-26 12:05:53 -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
}
server {
listen 2200;
proxy_pass $backend;
ssl_preread on
2023-05-26 12:05:53 -07:00
}
}