Comments (4)
This is probably related to this:
https://www.virtualbox.org/ticket/10660?cversion=0&cnum_hist=1
(ie, VBox guest additions don't support inotify)
from nginx.
It could also be #6 - are you mounting a single file and then sending a SIGHUP
to nginx, or are you mounting a directory? Also, are we talking about the configuration files, or HTML files being served by nginx?
from nginx.
I'm mounting a whole directory of files to be served from /usr/local/nginx/html
.
If the problem has to do with inotify it would mean that nginx or the sharing mechanism uses inotify to detect file length, but not for the content. And the weird thing is, that nginx will continue to serve an old version of the file even after destroying the container and re-creating it. Which points in the direction of problem with the mounting in Virtualbox not picking up on the changes (file length vs file content) correctly.
from nginx.
Sorry for not updating here sooner: Nginx upstream is now providing and maintaining this image at nginxinc/docker-nginx.
from nginx.
Related Issues (10)
- Would you consider adding perl support? HOT 3
- Configuration folder & sites configuration as mountable volume HOT 7
- ["nginx"] should be the ENTRYPOINT, not CMD HOT 4
- nginx doesn't use file for name resolution VS docker linking use file for name resolution HOT 1
- Remove this repo? HOT 4
- nginx runs directly as root HOT 11
- Build with packages? HOT 4
- nginx process not receiving SIGHUP HOT 5
- "WORKDIR /usr/local/nginx/html" assumes I have a /usr/local/nginx/html HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx.