Skip to content

Instantly share code, notes, and snippets.

@0atman
Last active August 29, 2015 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0atman/ae0e4f2c78e9f37fb37a to your computer and use it in GitHub Desktop.
Save 0atman/ae0e4f2c78e9f37fb37a to your computer and use it in GitHub Desktop.
Caddy & pelican
0.0.0.0:2020
gzip
log access.log
git git@github.com:0atman/0atman.com.git git {
interval 5
then make html
}
rewrite {
r ^/*
to /git/output/{path}
}
@0atman
Copy link
Author

0atman commented Aug 23, 2015

Run caddy as a service with this and you'll be laughing!

@0atman
Copy link
Author

0atman commented Aug 23, 2015

Demo running at http://bgr0.com:2020/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment