Giter Site home page Giter Site logo

Comments (5)

lordelph avatar lordelph commented on August 17, 2024

Sorry, I'd accidentally left comments disabled while dealing with a spam problem.

To diagnose your issue, I'd try two things

  • first, check the generated nginx.conf - did confd manage to write a configuration with your apache containers referenced in it?
  • if that checks out, try to figure out why the HUP signalling might have failed, maybe try docker kill -s HUP nginx.service or similar

from confd-demo.

artemave avatar artemave commented on August 17, 2024

I think I found the culprit. I was cross referencing your post with this one and noticed that they rm /etc/nginx/sites-enabled/default in their nginx.tmpl. So I did the same and it fixed the issue.

EDIT

Correction: I didn't rm /etc/nginx/sites-enabled/default, but removed include /etc/nginx/conf.d/*.conf; from nginx.tmpl

from confd-demo.

artemave avatar artemave commented on August 17, 2024

On a separate note, the docker image you're pulling in here seems to be a private one. I couldn't access it so I changed it to tutum/hello-world (which seems to be used anyway) and that worked for me.

from confd-demo.

artemave avatar artemave commented on August 17, 2024

And since this ticket became a dumping ground for little issues with the post, here is another possible one:

reload_nginx.sh references wrong docker container - connect-lb-nginx. I beleive it should be nginx.service instead.

from confd-demo.

lordelph avatar lordelph commented on August 17, 2024

well spotted! I adapted the sample code from something I was working on but looks like I didn't catch all the references!

from confd-demo.

Related Issues (1)

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.