OpenResty® Scalable Web Platform by Extending NGINX with Lua

New! OpenResty is now released!
New! OpenResty is now released!
New! New blog post Official OpenResty Fedora 34 & Alpine 3.13 pkg repo is published.
New! New blog post Real-Time Purge HTTP Cache in OpenResty Edge is published.


Yichun Zhang , 26 Aug 2013 (created 26 Aug 2013)

You can upgrade OpenResty to a newer release in the exactly same way as upgrading Nginx.

You can override the existing installation tree but you still need to restart your running Nginx server from the new executable. Usually we do something like this:

You can also just stop your current Nginx server and start it from scratch again if you don't care about the down time in between.

But please note that HUP reload won't update the running Nginx server processes with the newly installed executable file.

If you are using shared memory storage in your Nginx server (like Lua Nginx Module's shared memory dictionaries), then a full server restart will clear all the data in the shared memory zones. So be careful here.