Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 684 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 684 Bytes

static.code4sa.org

This site serves static content from multiple repos over SSL. We use it to host embeds on SSL sites since browsers require iframes on SSL sites to also be over SSL. It's a workaround for the fact that GitHub pages doesn't support SSL.

Adding new content

To host a new repo, add the GitHub git URL (HTTPS version, not the SSH version) to the REPOS file and deploy.

How it works

Dokku sees the Dockerfile and runs it. This builds a simple container which runs a lite version of nginx to server static content off the filesystem.

When the container launches, the repos in REPOS are cloned locally and made available to the world.

License

MIT License