Skip to content

tatsushid/nginx-udp-lb-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

NGINX UDP Load Balancing Example

This is just an example for testing NGINX UDP load balancing functionality newly added since NGINX 1.9.13.

How to try

  1. Clone this repository

  2. Run docker-compose up

  3. Check your docker machine IP address: docker-machine ip your-machine

  4. Send a query resolving example.com to your docker machine IP address

    dig @your-machine-ip-addr example.com +short
    

    127.0.0.10 and 127.0.0.20 should be displayed alternately.

About

NGINX UDP load balancing configuration example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published