Skip to content

Instantly share code, notes, and snippets.

@usualoma
Created July 29, 2013 20:15
Show Gist options
  • Save usualoma/6107390 to your computer and use it in GitHub Desktop.
Save usualoma/6107390 to your computer and use it in GitHub Desktop.
name: P-M-ServerStatus-Lite
version: 1.00
plack_middlewares:
- name: ServerStatus::Lite
options:
- key: path
value: /server-status
- key: allow
value:
- 127.0.0.1
- 192.168.0.0/16
- key: counter_file
value: /tmp/counter_file
- key: scoreboard
value: /tmp/mt-run/server
apply_to:
- cms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment