Skip to content

andriygedz/nginx-failover-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Nginx automatic failover load balancing

See nginx-conf/nginx.conf for nginx cofig

docker-compose up

docker compose starts two httpd services

docker stop nginxfailoversample_service1_1

Stop service1 and nginx will redirect all requests to servise2

docker start nginxfailoversample_service1_1

Then start service1 and nginx will redirect requests to both service1 and service2

About

Nginx automatic failover load balancing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors