How to pass the real client IP addresses to backend servers via special request headers
UpgradingYichun 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.