aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_pass_module.c
Commit message (Collapse)AuthorAge
* Stream pass: disabled passing from or to udp.Roman Arutyunyan2024-05-03
| | | | | | | Passing from udp was not possible for the most part due to preread buffer restriction. Passing to udp could occasionally work, but the connection would still be bound to the original listen rbtree, which prevented it from being deleted on connection closure.
* Stream pass: limited the number of passes per connection.Roman Arutyunyan2024-04-11
| | | | Previously a cycle in pass configuration resulted in stack overflow.
* Stream: ngx_stream_pass_module.Roman Arutyunyan2024-02-21
The module allows to pass connections from Stream to other modules such as HTTP or Mail, as well as back to Stream. Previously, this was only possible with proxying. Connections with preread buffer read out from socket cannot be passed. The module allows selective SSL termination based on SNI. stream { server { listen 8000 default_server; ssl_preread on; ... } server { listen 8000; server_name foo.example.com; pass 127.0.0.1:8001; # to HTTP } server { listen 8000; server_name bar.example.com; ... } } http { server { listen 8001 ssl; ... location / { root html; } } }