Coder Social home page Coder Social logo

Comments (7)

amarchbanks avatar amarchbanks commented on September 15, 2024

Anyone ideas? Thanks.

from heroku-buildpack-nginx.

beanieboi avatar beanieboi commented on September 15, 2024

i don't think is possible, can you maybe share a little more about your use-case?

from heroku-buildpack-nginx.

amarchbanks avatar amarchbanks commented on September 15, 2024

Thanks! Iā€™m looking into doing blue green deployments on Heroku and reloading the configuration without having to redeploy the app to get new configuration loaded. My idea was to reload the configuration to update which is the green and blue servers as part of the CICD process.

from heroku-buildpack-nginx.

beanieboi avatar beanieboi commented on September 15, 2024

Where does the new configuration come from, is it persisted somewhere? will it be generated? what would happen if the dyno reboots?

from heroku-buildpack-nginx.

amarchbanks avatar amarchbanks commented on September 15, 2024

My idea was to include two identical versions of the configuration to switch between blue/green and then run a script which can flip between them. So once the script has been invoked the current configuration file would be replaced with either the blue or green version. At this moment I need to reload the configuration in NGinx. Does this make sense or do you know of a more suitable approach?

from heroku-buildpack-nginx.

beanieboi avatar beanieboi commented on September 15, 2024

you can tell nginx to reload it's config, i believe it's nginx -s reload. Have you tried that?

from heroku-buildpack-nginx.

amarchbanks avatar amarchbanks commented on September 15, 2024

@beanieboi I opened up a bash shell into the dyno and indeed could run the above command. Thanks for your help!

from heroku-buildpack-nginx.

Related Issues (20)

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.