aboutsummaryrefslogtreecommitdiff
path: root/mod/lorea-status/README
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-15 15:01:34 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-15 15:01:34 -0300
commit939a44d6d08a560ba966be96b17d9038eac77f34 (patch)
tree1683cd5490a66a9cb90a8781b867e663c5a22e02 /mod/lorea-status/README
parent991a965fcdbbcdd5ad754949a8b2bebc97b807b7 (diff)
parent4bd60b4f3f541c7af734ed40043e70c888450691 (diff)
downloadelgg-939a44d6d08a560ba966be96b17d9038eac77f34.tar.gz
elgg-939a44d6d08a560ba966be96b17d9038eac77f34.tar.bz2
Merge commit '4bd60b4f3f541c7af734ed40043e70c888450691' as 'mod/lorea-status'
Diffstat (limited to 'mod/lorea-status/README')
-rw-r--r--mod/lorea-status/README38
1 files changed, 38 insertions, 0 deletions
diff --git a/mod/lorea-status/README b/mod/lorea-status/README
new file mode 100644
index 000000000..39ede84d4
--- /dev/null
+++ b/mod/lorea-status/README
@@ -0,0 +1,38 @@
+* Simple Lorea Seed Monitor
+
+Run an nginx static website to show current status of selected seeds.
+
+** How to setup the seed for using the monitor?
+
+*** Using PHP5-FPM (recommended)
+
+This is the recommended solution as it ensures the PHP process is running.
+
+: ping.path = /.ping
+: ping.response = pong example.org
+
+*** Using Apache
+
+Classical lorea setup.
+
+: echo 'pong example.org' > /var/www/example.org/.ping
+
+*** Using nginx
+
+New lorea setup.
+
+In =/etc/nginx/sites-available/example.org=:
+
+: location = /.ping {
+: default_type text/plain;
+: echo "pong $http_host";
+: echo_flush;
+: }
+
+** How do I add a seed to the monitor?
+
+Edit =/usr/local/bin/lorea_refresh_status= to add the domain name and
+the IP address of the server:
+
+: SEED[example.org]="203.0.103.123"
+