Skip to main content
Version: 2.0.25

2.0.26

Not yet released.

🐛 Bug Fixes​

  • Varnish: error responses (5xx) are no longer cached. After a reboot nginx can come up before PHP-FPM, and the 502 it returned in those few seconds was cached for an hour (plus 6 hours of grace) and served to every visitor even after PHP was running. Varnish now never caches a 5xx, and when a background refresh fails it keeps serving the last good copy. Applies to new Varnish installs, an existing site picks it up after its default.vcl is updated.
  • opencli domains-add, docker-hosts, docker-update, php-listen, user-check, user-litespeed and user-unsuspend now point Varnish at the webserver's new IP after they restart or recreate the webserver (nginx, apache, openresty, LiteSpeed). Varnish looks up the webserver's IP only when it starts, and the webserver gets a new IP every time it starts, so pages not in the cache returned 503 until Varnish was restarted. The VCL is reloaded live with the new IP, so the cache is kept and the site doesn't go down; Varnish is restarted only if the reload fails.