{"action":"created","issue":{"url":"https://api.github.com/repos/boot2docker/boot2docker/issues/996","labels_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/996/labels{/name}","comments_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/996/comments","events_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/996/events","html_url":"https://github.com/boot2docker/boot2docker/issues/996","id":95703456,"number":996,"title":"network transmission broke the file.","user":{"login":"kai-zhong","id":3389302,"avatar_url":"https://avatars.githubusercontent.com/u/3389302?v=3","gravatar_id":"","url":"https://api.github.com/users/kai-zhong","html_url":"https://github.com/kai-zhong","followers_url":"https://api.github.com/users/kai-zhong/followers","following_url":"https://api.github.com/users/kai-zhong/following{/other_user}","gists_url":"https://api.github.com/users/kai-zhong/gists{/gist_id}","starred_url":"https://api.github.com/users/kai-zhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kai-zhong/subscriptions","organizations_url":"https://api.github.com/users/kai-zhong/orgs","repos_url":"https://api.github.com/users/kai-zhong/repos","events_url":"https://api.github.com/users/kai-zhong/events{/privacy}","received_events_url":"https://api.github.com/users/kai-zhong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-17T17:24:29Z","updated_at":"2015-08-31T14:34:03Z","closed_at":null,"body":"I build up a website on boot2docker, when I access it through a browser, the returned file(css & js) is broken. this problem happened on both Windows and OS X.\r\n\r\nI try to build up website on OS X directly, not on boot2docker, everything is okay. the returned file is not broken.\r\n\r\nThe case is that, when i first started boot2docker, and access the website, the returned css file is normal, but when i make changes to file(e.g. append some content to file), then access website again, the returned css file is broken, file shows messy code on the browser.\r\n\r\nI use command ‘hexdump -C test.css’ to check original file and broken file, the tail part of file bytes is different.\r\n\r\noriginal file(test.css, encoding is utf-8)：\r\n```css\r\n.a{}\r\n.b{}\r\n```\r\noriginal file(hex format):\r\n```hex\r\n00000000  2e 61 20 7b 7d 0a 2e 62  20 7b 7d                 |.a {}..b {}|\r\n0000000b\r\n```\r\n\r\nbroken file(hex format):\r\n```hex\r\n00000000  2e 61 20 7b 0a 0a 7d 00  00 00 00                 |.a {..}....|\r\n0000000b\r\n```\r\n\r\nMy environment:\r\n* boot2docker version: 1.7.1\r\n* OS X version: 10.10.4\r\n\r\ndocker-compose.yml\r\n```yml\r\nwwwdata:\r\n    image: busybox\r\n    volumes:\r\n        - /Users/Kai/Workspace/www:/var/www\r\n\r\nmysqldata:\r\n    image: busybox\r\n    volumes:\r\n        - /var/lib/mysql\r\n\r\nmysql:\r\n    image: \"mysql:5.6.25\"\r\n    volumes_from:\r\n        - mysqldata\r\n    ports:\r\n        - \"3306:3306\"\r\n    environment:\r\n        - MYSQL_ROOT_PASSWORD=xxxxxxxxx\r\n\r\nfpm:\r\n    build: builds/php\r\n    links:\r\n        - mysql\r\n    volumes_from:\r\n        - wwwdata\r\n\r\nnginx:\r\n    image: \"nginx:1.9.2\"\r\n    links:\r\n        - fpm\r\n    volumes:\r\n        - /Users/Kai/Workspace/docker/lnmp/nginx:/etc/nginx\r\n    volumes_from:\r\n        - wwwdata\r\n    ports:\r\n        - \"80:80\"\r\n        - \"443:443\"\r\n```\r\n "},"comment":{"url":"https://api.github.com/repos/boot2docker/boot2docker/issues/comments/136390081","html_url":"https://github.com/boot2docker/boot2docker/issues/996#issuecomment-136390081","issue_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/996","id":136390081,"user":{"login":"jaux","id":4915,"avatar_url":"https://avatars.githubusercontent.com/u/4915?v=3","gravatar_id":"","url":"https://api.github.com/users/jaux","html_url":"https://github.com/jaux","followers_url":"https://api.github.com/users/jaux/followers","following_url":"https://api.github.com/users/jaux/following{/other_user}","gists_url":"https://api.github.com/users/jaux/gists{/gist_id}","starred_url":"https://api.github.com/users/jaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaux/subscriptions","organizations_url":"https://api.github.com/users/jaux/orgs","repos_url":"https://api.github.com/users/jaux/repos","events_url":"https://api.github.com/users/jaux/events{/privacy}","received_events_url":"https://api.github.com/users/jaux/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T14:34:03Z","updated_at":"2015-08-31T14:34:03Z","body":"Removing `sendfile on` from my nginx.conf solved this issue. https://github.com/boot2docker/osx-installer/issues/100"}}