Comments (1)
Hello there! I hope you have already figured this out, if not let me explain. 😄
If you look at this line in bin/compile
cp "bin/nginx-$STACK" "$1/bin/nginx"
It actually copies the compiled nginx executable i.e nginx-cedar-14
in this repo into your dynos build directory. Hence why changing the configurations in build_nginx.sh
doesn't do anything.
I compiled Nginx myself (read more here and changed it in my forked repo. Hope this helps! 🍭
Sidenote
Initially I had thought that the ordering of my buildpacks was causing this issue.
If you read this article, it says:
The last buildpack in the list will be used to determine the process types for the application. Any process types defined from earlier buildpacks will be ignored.
The buildpack (plans to?) compiles Nginx through a worker process specified in this Procfile. So if this buildpack comes before your other buildpacks, the shell script isn't executed and you will be copying this repo's nginx-cedar-14
file instead.
But looking at the above cp
line, it seems as if what I said doesn't matter because it is coded to always copy the same file. I might be wrong on this.
from nginx-buildpack.
Related Issues (20)
- Heroku premature routing HOT 1
- h13 errors after 5 seconds HOT 4
- gzip doesn't work HOT 3
- Does nginx actually closes connections after client_body_timeout?
- Static files HOT 1
- Novice question HOT 1
- Upgrade to newest nginx 1.6.3 HOT 1
- Bad Gateway on Heroku Restart HOT 1
- Proxy Cache not working on heroku HOT 2
- proxy_pass to another heroku app HOT 2
- Managing Nginx Memory Usage HOT 2
- Why not use nginx.conf for configuring nginx? HOT 2
- websockets over nginx
- Heroku Cedar 16 throwing new error on first build. HOT 11
- Add modules to buildpack
- When does this buildpack crash the dyno?
- failed to compile nginx-buildpack app HOT 1
- nginx proxy_pass blocks the port
- Logs polluted with 'buildpack=nginx at=app-initialization' despite existance of /tmp/app-initialized HOT 1
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-buildpack.