eugeneware/docker-wordpress-nginx — pull request #31 by joahua (2014-12-19 05:24:54+00:00)
Title: Nginx/virtualbox bug - disable sendfile

Hi,

Thanks for this Dockerfile, it was really handy!

I don't know whether your project is worried about this because not everyone's using VirtualBox, but if you are, this PR implements a fix as described at https://docs.vagrantup.com/v2/synced-folders/virtualbox.html to this problem with shared filesystems: http://smotko.si/nginx-static-file-problem/

If you're just using Wordpress inside the docker image you may not notice this issue.

I came across this as I'd mounted a synced folder to do some plugin development and some files weren't being refreshed as per screenshot on the smotko.si post. This seems to impact static files only, as Nginx passes other requests to PHP which doesn't have the same issue.

Cheers,
Josh