Get the most out of your Centmin Mod LEMP stack
Become a Member

Nginx ngx_stream_core_module & ngx_stream_ssl_module examples

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by eva2000, May 20, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    3:19 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Nginx 1.9 adds TCP load balancing support if you compile Nginx with the following configure options below:
    Code:
    --with-stream --with-stream_ssl_module
    
    Official documentation below still is vague as to what you can do:
    However, this thread's purpose is for me and you (if you want to contribute) is to compile a list of links or web sites with info explaining how to use Nginx stream support.

    Example links for Nginx stream usage:


    Centmin Mod Nginx 1.9 Stream Support




    Centmin Mod .08 beta 02 latest update has support for Nginx 1.9 stream modules.

     
    Last edited: May 20, 2015
  2. rdan

    rdan Well-Known Member

    5,444
    1,407
    113
    May 25, 2014
    Ratings:
    +2,200
    Local Time:
    1:19 AM
    Mainline
    10.2
    So basically you can serve Nginx request via Memcached with this?
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    3:19 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    TCP load balancing means load balancing anything that listens to TCP port like memcached, mysql etc