Comments (7)
Anyone ideas? Thanks.
from heroku-buildpack-nginx.
i don't think is possible, can you maybe share a little more about your use-case?
from heroku-buildpack-nginx.
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.
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.
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.
you can tell nginx to reload it's config, i believe it's nginx -s reload
. Have you tried that?
from heroku-buildpack-nginx.
@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)
- App fails to start on Heroku-22 stack due to lack of erb executable HOT 4
- Add CI to this repository
- Is njs supported?
- How to configure this buildpack and deploy a Vue application? HOT 2
- PATH to vendored Ruby is incorrect if buildpack dir differs from the default
- Enable Brotli compression HOT 2
- Are you open for a PR that allows an extra module to be enabled via an ENV var (default off)? HOT 2
- Log directly to stdout/stderr HOT 2
- Enable nginx buildpack without app config & code changes.
- Wrong PATH for downloaded ruby for heroku-22 and above? HOT 12
- How do I use this with Next.js project on Heroku?
- Remove support for Heroku-16
- Question about CVE-2021-23017 HOT 2
- gzip does not work?
- cant start with puma HOT 4
- ftp.pcre.org is no long available
- LUA support HOT 2
- don't mind this
- Specify different config files for staging and production HOT 1
- Document `heroku-community/nginx` stable alias HOT 3
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 heroku-buildpack-nginx.