From d4b0198a877e65d04783c771ef55762730f3984f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 29 Jul 2016 22:35:46 +0000 Subject: use HTTPS and move homepage to https://bogomips.org/raindrops/ 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. --- lib/raindrops/aggregate.rb | 2 +- lib/raindrops/middleware.rb | 4 ++-- lib/raindrops/watcher.rb | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'lib') diff --git a/lib/raindrops/aggregate.rb b/lib/raindrops/aggregate.rb index 998d514..4fb731f 100644 --- a/lib/raindrops/aggregate.rb +++ b/lib/raindrops/aggregate.rb @@ -1,6 +1,6 @@ # -*- encoding: binary -*- # -# raindrops may use the {aggregate}[http://github.com/josephruscio/aggregate] +# raindrops may use the {aggregate}[https://github.com/josephruscio/aggregate] # RubyGem to aggregate statistics from TCP_Info lookups. module Raindrops::Aggregate autoload :PMQ, "raindrops/aggregate/pmq" diff --git a/lib/raindrops/middleware.rb b/lib/raindrops/middleware.rb index da2fb9d..ea7f08a 100644 --- a/lib/raindrops/middleware.rb +++ b/lib/raindrops/middleware.rb @@ -62,9 +62,9 @@ require 'raindrops' # = Demo Server # # There is a server running this middleware (and Watcher) at -# http://raindrops-demo.bogomips.org/_raindrops +# https://raindrops-demo.bogomips.org/_raindrops # -# Also check out the Watcher demo at http://raindrops-demo.bogomips.org/ +# Also check out the Watcher demo at https://raindrops-demo.bogomips.org/ # # The demo server is only limited to 30 users, so be sure not to abuse it # by using the /tail/ endpoint too much. 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 = {}) -- cgit v1.2.3-24-ge0c7