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

Code4SA/static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages