Skip to content

patrickhaller/nginx-graceful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Restart nginx without downtime

Usage: graceful.sh [ HOST | '' ]

As per the docs, spawn a new nginx master process and workers, then quiesce the old workers.

The script will prompt for a commit or rollback; at this point, test to verify that the new workers are handling correctly.

Provided that all is well, type "commit". Any other response will rollback to the old master.

About

Restart nginx without downtime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages