Skip to content

About

Restart nginx without downtime

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages