Comments (4)
Cheers :)
from phoenix_site.
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.
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.
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:
- 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 tomaster
. - Use CloudFlare for the site's DNS, which also gives you SSL for free.
from phoenix_site.
Related Issues (16)
- Fix hard-coded rc index links once 1.3.0 goes final
- Mission build/assets/js directory HOT 1
- Add a section for the Programming Phoenix book HOT 1
- Broken link: ride.com
- No favicon after the update HOT 1
- A lot of broken links HOT 1
- `npm install` needs to be run from inside the assets directory
- 400KB Vim .swp file is served on home page HOT 1
- Page not found HOT 1
- Blog's RSS feed is invalid XML
- Include installer and phx.new example on homepage HOT 1
- landing page banner is inaccessible
- phoenix 1.4 upgrade guide missing HOT 3
- Put a new enterprise logo in phoenix website HOT 1
- SSL certificate error HOT 2
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 phoenix_site.