K
K
KIN19912014-12-17 14:36:01
virtual box
KIN1991, 2014-12-17 14:36:01

How to properly set up shared folder in vitrualbox guest ubuntu server?

Hi all.
Please help me solve the problem. The essence of it is that I mounted the folder in virtualbox (Ubuntu guest) with the following command:
sudo mount -t vboxsf web /media/web
The folder itself was shared, all the rules made a symlink on it. In nginx, I pointed the root to the symlink of the shared folder I created earlier.
I check from the real system (Mac OS X 10.10) everything works, but as soon as I start making changes to the files from the real system, let's say in the css file instead of:

.test{
color:#fff;
}

I get:
������������������
I understand that the problem is not properly mounting the folder.
Please tell me how to solve this problem?
Solution
Disable sendfile in nginx configs

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
ZoomZoom, 2014-12-17
@ZoomZoom

maybe encoded? put utf-8

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question