Skip to content

Instantly share code, notes, and snippets.

@vith
Created January 15, 2016 23:00
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 vith/595afc2b81ca7733bc3d to your computer and use it in GitHub Desktop.
Save vith/595afc2b81ca7733bc3d to your computer and use it in GitHub Desktop.
SmokePing Caddyfile
localhost:8000
startup spawn-fcgi -s smokeping_cgi.sock -P smokeping_cgi.pid /srv/http/smokeping/smokeping.fcgi.dist
shutdown bash -c 'kill -9 --verbose $(cat smokeping_cgi.pid)'
root /srv/http/
fastcgi /smokeping unix:smokeping_cgi.sock {
ext .fcgi.dist
split .fcgi.dist
index smokeping.fcgi.dist
}
errors errors.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment