0

There's a bug in Virtualbox that results in small, static files not being transmitted over shared-folders properly. This purported solution is to add "sendfile off;" to the server/location block in Nginx (or a corresponding fix to Apache/etc...) and reloading. This prevents gibberish from being received in your Javascript, CSS, etc..

However, it's not working for me. I'm definitely hitting the right server/location blocks, but, even after reconstructing the Vagrant instance (with the Virtualbox provider), I still get gibberish in my files.

Does anyone have any guesses at what could be going on?

Dustin Oprea
  • 9,673
  • 13
  • 65
  • 105

1 Answers1

0

Yes but this can not be solved, you should create a real share on the Host and net use to that share, VB shared folders are a cheap way to get stuff in a VM but don't use it for anything else.

itpp13
  • 444
  • 2
  • 6