-
Notifications
You must be signed in to change notification settings - Fork 55
nginx serves corrupted files when files edited in host mounted volume #8
Comments
This is probably related to this: (ie, VBox guest additions don't support inotify) |
It could also be #6 - are you mounting a single file and then sending a |
I'm mounting a whole directory of files to be served from If the problem has to do with inotify it would mean that nginx or the sharing mechanism uses inotify to detect file length, but not for the content. And the weird thing is, that nginx will continue to serve an old version of the file even after destroying the container and re-creating it. Which points in the direction of problem with the mounting in Virtualbox not picking up on the changes (file length vs file content) correctly. |
Sorry for not updating here sooner: Nginx upstream is now providing and maintaining this image at nginxinc/docker-nginx. |
I'm not sure if this issues lies with docker itself, docker-osx or nginx.
julien-duponchelle/docker-osx#68
The text was updated successfully, but these errors were encountered: