Git Product home page Git Product logo

Comments (4)

chrismccord avatar chrismccord commented on May 24, 2024 2

https://phoenixframework.org

Cheers :)

from phoenix_site.

chrismccord avatar chrismccord commented on May 24, 2024

We haven't set up ssl on the landing page and it's not something I'm currently prioritizing over other efforts. The site is hosted form an S3 bucket if someone would like to figure out the legwork for me on getting SSL in place with letsencrypt. Thanks!

from phoenix_site.

kmoe avatar kmoe commented on May 24, 2024

I discovered this issue when following a link to https://phoenixframework.org/docs/advanced-deployment from https://hexdocs.pm/distillery/use-with-phoenix.html. I think it may be easier to set up SSL than update all the links to phoenixframework.org across the internet!

If you want to set up SSL while keeping the site on S3 you have a couple of options. It's not possible to set up a certificate for a custom domain pointing directly to an S3 bucket, so you will need to point your domain DNS to CloudFront or another proxy.

Option 1: Let's Encrypt

Generate Let's Encrypt certificate locally, upload to AWS Certificate Manager, point to CloudFront distribution.

http://blog.bogdancarpean.com/add-https-to-amazon-s3-hosted-website/

Option 2: ACM

Request certificate on AWS Certificate Manager, point to CloudFront distribution.

https://ronniemlr.com/2018/01/22/https-for-your-static-s3-website/

The second option is easier, but ties you into AWS more (though the cost of switching is still small).

Hope this helps, and thanks for your work on Phoenix.

from phoenix_site.

timwis avatar timwis commented on May 24, 2024

Chrome will start marking non-https sites as "not secure" this month, so it may be worth revisiting. If you're already using S3, option 2 above should be pretty straightforward. Other options are:

  1. Use github pages instead of S3, and get SSL for free. You could setup travis CI to build the site and push it to the gh-pages branch when you push to master.
  2. Use CloudFlare for the site's DNS, which also gives you SSL for free.

from phoenix_site.

Related Issues (16)

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.