The official NGINX Open Source repository.
Go to file
Roman Arutyunyan a168b810e2 Stream: ngx_stream_pass_module.
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;
            }
        }
    }
2024-02-21 17:36:02 +04:00
auto Stream: ngx_stream_pass_module. 2024-02-21 17:36:02 +04:00
conf MIME: added image/avif type. 2021-10-25 20:49:15 +03:00
contrib Contrib: vim syntax, update core and 3rd party module directives. 2023-07-24 18:04:41 +03:00
docs nginx-1.25.4-RELEASE 2024-02-14 15:55:46 +04:00
misc Updated OpenSSL and zlib used for win32 builds. 2024-02-14 15:55:42 +04:00
src Stream: ngx_stream_pass_module. 2024-02-21 17:36:02 +04:00
.hgtags release-1.25.4 tag 2024-02-14 20:03:00 +04:00