about summary refs log tree commit homepage
path: root/lib/raindrops/watcher.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-07-29 22:35:46 +0000
committerEric Wong <e@80x24.org>2016-07-29 22:35:46 +0000
commitd4b0198a877e65d04783c771ef55762730f3984f (patch)
treecb7cb4e547c9377a315234e2fafa188b132fd064 /lib/raindrops/watcher.rb
parent7e7c4f7b7ee4e42b1a7f9a6cbd0be7f56e6f0710 (diff)
downloadraindrops-d4b0198a877e65d04783c771ef55762730f3984f.tar.gz
While raindrops.bogomips.org exists, having extra subjectAltName
entries is bloating the certificate.  This will make it easier
to mirror the homepage on Tor hidden services.
Diffstat (limited to 'lib/raindrops/watcher.rb')
-rw-r--r--lib/raindrops/watcher.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb
index f0abd1d..b0615f7 100644
--- a/lib/raindrops/watcher.rb
+++ b/lib/raindrops/watcher.rb
@@ -8,7 +8,7 @@ require "aggregate"
 # Raindrops::Watcher is a stand-alone Rack application for watching
 # any number of TCP and UNIX listeners (all of them by default).
 #
-# It depends on the {Aggregate RubyGem}[http://rubygems.org/gems/aggregate]
+# It depends on the {Aggregate RubyGem}[https://rubygems.org/gems/aggregate]
 #
 # In your Rack config.ru:
 #
@@ -35,28 +35,28 @@ require "aggregate"
 # Returns a plain text summary + histogram with X-* HTTP headers for
 # active connections.
 #
-# e.g.: curl http://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.txt
+# e.g.: curl https://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.txt
 #
 # === GET /active/$LISTENER.html
 #
 # Returns an HTML summary + histogram with X-* HTTP headers for
 # active connections.
 #
-# e.g.: curl http://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.html
+# e.g.: curl https://raindrops-demo.bogomips.org/active/0.0.0.0%3A80.html
 #
 # === GET /queued/$LISTENER.txt
 #
 # Returns a plain text summary + histogram with X-* HTTP headers for
 # queued connections.
 #
-# e.g.: curl http://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.txt
+# e.g.: curl https://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.txt
 #
 # === GET /queued/$LISTENER.html
 #
 # Returns an HTML summary + histogram with X-* HTTP headers for
 # queued connections.
 #
-# e.g.: curl http://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.html
+# e.g.: curl https://raindrops-demo.bogomips.org/queued/0.0.0.0%3A80.html
 #
 # === POST /reset/$LISTENER
 #
@@ -95,9 +95,9 @@ require "aggregate"
 #
 # = Demo Server
 #
-# There is a server running this app at http://raindrops-demo.bogomips.org/
+# There is a server running this app at https://raindrops-demo.bogomips.org/
 # The Raindrops::Middleware demo is also accessible at
-# http://raindrops-demo.bogomips.org/_raindrops
+# https://raindrops-demo.bogomips.org/_raindrops
 #
 # The demo server is only limited to 30 users, so be sure not to abuse it
 # by using the /tail/ endpoint too much.
@@ -106,7 +106,7 @@ class Raindrops::Watcher
   attr_reader :snapshot
   include Rack::Utils
   include Raindrops::Linux
-  DOC_URL = "http://raindrops.bogomips.org/Raindrops/Watcher.html"
+  DOC_URL = "https://bogomips.org/raindrops/Raindrops/Watcher.html"
   Peak = Struct.new(:first, :last)
 
   def initialize(opts = {})