Is it possible to have https for free in heroku?
*.herokuapp.com has HTTPS by default, but just need to redirect your server for it.
*.herokuapp.com
Custom domain can have HTTPS, if you either,
I deployed a flask site and all the relative links points to http. I open with https, but the internal links point to http
Have you tried --
I have a website build using python3.4 and flask...I have generated my own self-signed certificate and I am currently testing my website through localhost.
I am using the python ssl module along with this flask extension: github.com/kennethreitz/flask-sslify
context = ('my-cert.pem', 'my-key.pem') app = Flask(__name__) sslify = SSLify(app) ... if __name__
You don't need a real SSL certificate, BTW. Just need to differentiate DEVELOPMENT from PRODUCTION.
You can also adapt this code, as some of the things are Heroku-specific.
help.heroku.com/J2R1S4T8/can-herok...
great list of free resources!
Indeed
Thanks. Great list
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Is it possible to have https for free in heroku?
*.herokuapp.com
has HTTPS by default, but just need to redirect your server for it.Custom domain can have HTTPS, if you either,
I deployed a flask site and all the relative links points to http. I open with https, but the internal links point to http
Have you tried --
python flask redirect to https from http
I have a website build using python3.4 and flask...I have generated my own self-signed certificate and I am currently testing my website through localhost.
I am using the python ssl module along with this flask extension: github.com/kennethreitz/flask-sslify
…You don't need a real SSL certificate, BTW. Just need to differentiate DEVELOPMENT from PRODUCTION.
You can also adapt this code, as some of the things are Heroku-specific.
help.heroku.com/J2R1S4T8/can-herok...
great list of free resources!
Indeed
Thanks. Great list