Hi,
I have an Aegir server which I 've had since pre 1.0, it's been upgraded smoothly on every single point release, until 1.7. The actual 1.7 upgrade went smoothly, but now remote servers have a strange caching issue which seems to be related to nginx caching. As you click around the site, 90% of the time the page content doesn't actually refresh dispute the url changing.
Both the aegir server and the remote server are running nginx. After the Aegir upgrade, the remote server would not start nginx due to some unrecognized declarations in the conf file, though I can't remember which. I upgraded nginx on the remote server using apt.
The remote server is now running nginx version: nginx/0.7.65
The aegir master server is running nginx version: nginx/1.1.0
From omega8cc on IRC:
omega8cc: mrfelton: the problem you have now is that it takes '$request_uri' as a literal string for all requests, so you have basically totally screwed caching, as it is using the same key for all requests - which never happens if the nginx cache is local.
Attached are the config files that are in place on the remote server.
| Comment | File | Size | Author |
|---|---|---|---|
| config.tar_.gz | 7.57 KB | mrfelton |
Comments
Comment #1
mrfelton commentedUpdating nginx on the remote server to the latest stable version resolved the problem.
Comment #2.0
(not verified) commentedRemoving reference to company url