lancachenet/generic

Make sniproxy obsolete

doino-gretchenliev opened this issue · 2 comments

Describe the issue you are having

Having to run two separate containers for HTTP and HTTPS traffic: monolithic and sniproxy.

Solution

By using the Nginx stream_ssl_preread module you can add the following configuration to nginx.conf file:

stream {
    server {
        resolver UPSTREAM_DNS;
        listen      443;
        proxy_pass  $ssl_preread_server_name:443;
        ssl_preread on;
    }
}
...
http { ... }

and have the sniproxy functionally inside the main game cache container.

stale commented

This issue has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This functionality was added in #107 you can now choose to run sniproxy or ssi embedded into generic/monolithic.

Thanks for the suggestion