Skip to content

Commit 6989366

Browse files
committed
Merge pull request #31 from joahua/bug/sendfile
Nginx/virtualbox bug - disable sendfile
2 parents 5936eea + 695fc17 commit 6989366

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nginx-site.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ server {
2626

2727
# Make site accessible from http://localhost/
2828
server_name localhost;
29+
30+
# Disable sendfile as per https://docs.vagrantup.com/v2/synced-folders/virtualbox.html
31+
sendfile off;
2932

3033
location / {
3134
# First attempt to serve request as file, then

0 commit comments

Comments
 (0)