Code Monkey home page Code Monkey logo

Comments (4)

tianon avatar tianon commented on August 10, 2024

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.

tianon avatar tianon commented on August 10, 2024

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.

stefanfoulis avatar stefanfoulis commented on August 10, 2024

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.

tianon avatar tianon commented on August 10, 2024

Sorry for not updating here sooner: Nginx upstream is now providing and maintaining this image at nginxinc/docker-nginx.

from nginx.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.