Skip to content

Instantly share code, notes, and snippets.

View jonringer's full-sized avatar
💭
😃

Jonathan Ringer jonringer

💭
😃
View GitHub Profile
@thoughtpolice
thoughtpolice / snake-nginx.nix
Created August 21, 2015 19:03
A complete example of a working Hydra build machine and other stuff.
let
# Wrap a nginx server block in an HTTPS site
wrapSSL = site: cert: key: block: ''
server {
listen 80;
listen [::]:80;
server_name ${site};
location /nginx_status {
stub_status on;