Added README.vagrant
authorAndreas Schiermeier <andreas@schiermeier.name>
Mon, 30 Dec 2013 18:08:25 +0000 (19:08 +0100)
committerAndreas Schiermeier <andreas@schiermeier.name>
Mon, 30 Dec 2013 18:08:25 +0000 (19:08 +0100)
README.vagrant [new file with mode: 0644]

diff --git a/README.vagrant b/README.vagrant
new file mode 100644 (file)
index 0000000..109c3ec
--- /dev/null
@@ -0,0 +1,5 @@
+# sendfile in VirtualBox VMs with vboxfs is BROKEN.
+# http://jeremyfelt.com/code/2013/01/08/clear-nginx-cache-in-vagrant/
+# Execute the following commands after provisioning, to disable sendfile support in NGINX.
+sudo sed -i 's/sendfile.*on/sendfile off/g;' /etc/nginx/nginx.conf
+sudo service nginx reload