Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HTTPS support to ipfs-server and ipfs-mirror #44

Merged
merged 13 commits into from
Jul 12, 2018
Merged

Add HTTPS support to ipfs-server and ipfs-mirror #44

merged 13 commits into from
Jul 12, 2018

Conversation

benhylau
Copy link
Member

@benhylau benhylau commented Jul 12, 2018

  • Uses Let's Encrypt to obtain certificates
  • Origin player at https://<domain> + https://ipfs-server.<domain>, gateway at https://ipfs-gateway.<domain>
  • Mirror player at https://ipfs-mirror-N.<domain>, gateway at https://ipfs-gateway-N.<domain>
  • Changes m3u8 to hold only 6 .ts chunks, making max delay 1.5 min

Please squash merge.

@benhylau benhylau merged commit e0b7f78 into master Jul 12, 2018
@benhylau benhylau deleted the https branch July 12, 2018 17:31
# the "preload" directive if you understand the implications.
#add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload";
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains";
add_header X-Frame-Options DENY;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should remove the add_header X-Frame-Options DENY; because having that header means we cannot iframe the player on other pages if needed to.

Maybe same goes for ipfs-server too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants