Comments (5)
this will be fixed by #20
from heroku-buildpack-nginx.
hey,
adding --with-http_ssl_module \
on line 50 (e.g.) should work.
Can you explain what are you trying to achieve?
ben
from heroku-buildpack-nginx.
I'm trying to see if can get nginx to accept secure connections i.e. https.
For example, if we need an extra layer of security within our applications and want them to reach each other through nginx (proxy) using https.
I can try again and see if I missed something last time but adding that module didnt work, last time I tried.
from heroku-buildpack-nginx.
are you in common runtime or private spaces? in common runtime there is no way to accept SSL connection at your dyno, it will be handled by the Heroku Loadbalancer that terminates the SSL for you. there is also my private buildpack, which is a enhanced version of the heroku buildpack. it includes a more recent version of nginx and more modules.
https://github.com/beanieboi/nginx-buildpack
from heroku-buildpack-nginx.
Thank you and I appreciate your reference, looks like I will use it instead.
As for my application its actually in a shield space/private space and planning to use internal routing.
Currently its failing as I need to proxy_pass https://...
but wouldn't do it. Otherwise we will have to change the code and web server to not enforce ssl.
Just out of curiosity I would like to know if what I did last time was the proper way, I forked this Heroku build-pack and modified the script by adding --with-http_ssl_module
which did not work. I think it needs to be done for the build-pack repo and not in my nginx app repo (the forked one), as the build pack will overwrite it.
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.
- Add explicit STACK check
- 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.