Coder Social home page Coder Social logo

Comments (5)

beanieboi avatar beanieboi commented on August 11, 2024 1

this will be fixed by #20

from heroku-buildpack-nginx.

beanieboi avatar beanieboi commented on August 11, 2024

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.

zs787 avatar zs787 commented on August 11, 2024

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.

beanieboi avatar beanieboi commented on August 11, 2024

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.

zs787 avatar zs787 commented on August 11, 2024

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)

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.