Avoiding Nginx restart when rsyncing cache across machines

Quintin Par quintinpar at gmail.com
Tue Sep 11 23:45:42 UTC 2018


I run a mini CDN for a static site by having Nginx cache machines (in
different locations) in front of the origin and load balanced by Cloudflare.



Periodically I run rsync pull to update the cache on each of these
machines. Works well, except that I realized I need to restart Nginx and
reload isn’t updating the cache in memory.



Really want to avoid the restart. Is this possible? Or maybe I am doing
something wrong here.

- Quintin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180911/dd823f61/attachment.html>


More information about the nginx mailing list