-
Notifications
You must be signed in to change notification settings - Fork 28
Support for forcing HTTPS #8
Comments
Just define a |
@maletor as far as I can see, this only would affect the static buildpack (the one used for a non-fastboot app) |
You're right. What do you propose? I can see issues with using the same JSON file. |
I think that we need another config in the node.js buildpack that does something similar (redirects non-https traffic to https). This way developers could put both in place and then add/remove fastboot and see no change in http vs. https behavior. |
potentially, this should be a thing added to the new fastboot-app-server. At some point, I'd like to explore fronting fastboot apps with nginx, but need to look into how tricky that'd be and managing multiple processes on a single dyno. |
@mike-north Did you guys find a workaround for this issue? |
Is there currently a way to do this with the static buildpack? I opened an issue here about the redirects not happening despite the presumed correct configuration. BTW, is this the main ember buildpack repo? If so, I can close the other issue. |
Yeah, this is the main ember buildpack repo. On 22/08/16 19:42, Justin Searles wrote:
|
Any news? Coming soon? How we could hep? |
I haven't had time to really tackle this, but the thought in my head On 01/10/16 13:55, Stefan Gasser wrote:
|
What's the status here? |
Anyone found a solution? |
Adding the static file does what I need https://stackoverflow.com/questions/47795457/ember-force-https-with-heroku |
Need this feature for Fastboot apps. This is such an important feature! Any update? |
@musaffa, try @stephanebruckert advice above. What worked for was adding a Procfile and this snippet oskarrough/ember-fastboot-now-deployment-example@3d2bdde |
@oskarrough I tried your way in Heroku but I get this error: |
Try to check how it is set up here https://github.com/oskarrough/ember-fastboot-now-deployment-example/tree/heroku. Basic idea is…
|
I did exactly that. I've added a Procfile which points to the npm script. I've also added Have you tried your app in Heroku? |
@musaffa hmm… it used to work, as can be seen here: https://serene-lake-99852.herokuapp.com/. But I just attempted to deploy the same repo again and now I get the same error as you. Not sure what's up. |
I've ssh-ed into my Heroku app repository and I cannot see fastboot-app-server in the node modules folder. For some reason, it doesn't install |
I've solved this problem. There's no need to add But If you really want to add |
I've ended up forking fastboot-cli where I've added gzip and forced HTTPs support in its fastboot-app-server configuration. Add the forked $ yarn add https://github.com/musaffa/fastboot-cli
|
@musaffa That works great. Is there a way to upstream that with some sort of configuration option? |
@hone said he is trying to make it work by fronting the fastboot apps with nginx like the static buildpack. That will be a more robust solution. |
It would be excellent if we could figure out how to do this in a way that works across both the static and nodejs buildpacks (meaning the user doesn't have to care about whether their app is in "fastboot mode" or not)
The text was updated successfully, but these errors were encountered: