From 4932b06f13912f371ea2b3d06daf0f6ea3c9271c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 31 Oct 2016 20:13:40 +0000 Subject: doc: move homepage and update URLs to HTTPS Let's Encrypt is working well for us and having fewer domains reduces subjectAltName bloat to speed up connection establishment HTTP will remain working indefinitely since some old systems do not have modern TLS stacks. --- .olddoc.yml | 6 +++--- Documentation/rainbows.1.txt | 4 ++-- FAQ | 2 +- GNUmakefile | 3 +-- HACKING | 2 +- README | 10 +++++----- Sandbox | 2 +- TUNING | 4 ++-- archive/rfmig.rb | 2 +- lib/rainbows.rb | 2 +- lib/rainbows/configurator.rb | 2 +- lib/rainbows/epoll.rb | 2 +- lib/rainbows/reverse_proxy.rb | 2 +- vs_Unicorn | 2 +- 14 files changed, 22 insertions(+), 23 deletions(-) diff --git a/.olddoc.yml b/.olddoc.yml index 7559500..d9bb974 100644 --- a/.olddoc.yml +++ b/.olddoc.yml @@ -1,7 +1,7 @@ --- -cgit_url: http://bogomips.org/rainbows.git +cgit_url: https://bogomips.org/rainbows.git git_url: git://bogomips.org/rainbows.git -rdoc_url: http://rainbows.bogomips.org/ +rdoc_url: https://bogomips.org/rainbows/ merge_html: rainbows_1: Documentation/rainbows.1.html Summary: Documentation/comparison.html @@ -15,7 +15,7 @@ noindex: - Unicorn::SocketHelper - EM - Revactor -ml_url: http://bogomips.org/rainbows-public/ +ml_url: https://bogomips.org/rainbows-public/ nntp_url: - nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows - nntp://news.gmane.org/gmane.comp.lang.ruby.rainbows.general diff --git a/Documentation/rainbows.1.txt b/Documentation/rainbows.1.txt index 372f236..cdf7863 100644 --- a/Documentation/rainbows.1.txt +++ b/Documentation/rainbows.1.txt @@ -155,7 +155,7 @@ RACKUP_FILE, some frameworks do not require them. * [Rack RDoc][2] * [Rackup HowTo][3] -[1]: http://rainbows.bogomips.org/ +[1]: https://bogomips.org/rainbows/ [2]: http://rdoc.info/gems/r#/gems/rack/frames [3]: http://wiki.github.com/rack/rack/tutorial-rackup-howto -[4]: http://rainbows.bogomips.org/SIGNALS.html +[4]: https://bogomips.org/rainbows/SIGNALS.html diff --git a/FAQ b/FAQ index 460aee5..e3dd762 100644 --- a/FAQ +++ b/FAQ @@ -64,7 +64,7 @@ requires a extra {patch}[http://haproxy.1wt.eu/download/patches/]. If you don't need streaming "rack.input", then nginx is a great HTTPS reverse proxy. -Refer to the {unicorn FAQ}[http://unicorn.bogomips.org/FAQ.html] on how +Refer to the {unicorn FAQ}[https://bogomips.org/unicorn/FAQ.html] on how to ensure redirects go to "https://" URLs. diff --git a/GNUmakefile b/GNUmakefile index 0eb88da..af8be80 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,7 +1,6 @@ # use GNU Make to run tests in parallel, and without depending on RubyGems all:: -# RSYNC_DEST := rubyforge.org:/var/www/gforge-projects/rainbows -RSYNC_DEST := rainbows.bogomips.org:/srv/rainbows +RSYNC_DEST := bogomips.org:/srv/bogomips/rainbows rfpackage := rainbows PLACEHOLDERS := rainbows_1 Summary diff --git a/HACKING b/HACKING index 27c87a4..39a68ef 100644 --- a/HACKING +++ b/HACKING @@ -13,7 +13,7 @@ Please wrap documentation at 72 characters-per-line or less (long URLs are exempt) so it is comfortably readable from terminals. When referencing mailing list posts, use -"http://bogomips.org/rainbows-public/m/$MESSAGE_ID" if possible since +"https://bogomips.org/rainbows-public//" if possible since the Message-ID remains searchable even if the website becomes unavailable. == Contributing diff --git a/README b/README index 100a81a..ac10375 100644 --- a/README +++ b/README @@ -5,7 +5,7 @@ unicorn, but designed to handle applications that expect long request/response times and/or slow clients. If you're on GNU/Linux and overwhelmed by options in \Rainbows!, -consider {yahns}[http://yahns.yhbt.net/] as it has fewer options +consider {yahns}[https://yhbt.net/yahns/] as it has fewer options and more energy-efficient during non-peak traffic and may also be configured as a single worker process. @@ -51,7 +51,7 @@ network concurrency. * Designed for {Rack}[http://rack.github.io/], the standard for modern Ruby HTTP applications. -* Built on {Unicorn}[http://unicorn.bogomips.org/], inheriting its +* Built on {Unicorn}[https://bogomips.org/unicorn/], inheriting its process/socket management features such as transparent upgrades and Ruby configuration DSL. @@ -117,7 +117,7 @@ In APP_ROOT (where config.ru is located), run: For deployments, it can use a config file for Unicorn and \Rainbows!-specific options specified by the +--config-file/-c+ command-line switch. \Rainbows! accepts all options found in -{Unicorn::Configurator}[http://unicorn.bogomips.org/Unicorn/Configurator.html] +{Unicorn::Configurator}[https://bogomips.org/unicorn/Unicorn/Configurator.html] as well as the "\Rainbows!" block, so you can have the following in your config file: @@ -142,7 +142,7 @@ You can get the latest source via git from the following locations You may browse the code from the web and download the latest snapshot tarballs here: -* http://bogomips.org/rainbows.git (cgit) +* https://bogomips.org/rainbows.git * http://repo.or.cz/w/rainbows.git (gitweb) Inline patches (from "git format-patch") to the mailing list are @@ -168,6 +168,6 @@ to post on the mailing list. No top posting. * email: mailto:rainbows-public@bogomips.org * subscribe: mailto:rainbows-public+subscribe@bogomips.org -* archives: http://bogomips.org/rainbows-public/ +* archives: https://bogomips.org/rainbows-public/ nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows nntp://news.gmane.org/gmane.comp.lang.ruby.rainbows.general diff --git a/Sandbox b/Sandbox index fccb1ed..63c44c4 100644 --- a/Sandbox +++ b/Sandbox @@ -1,6 +1,6 @@ = Tips for using \Rainbows! with Sandbox installation tools -Most {tips for unicorn}[http://unicorn.bogomips.org/Sandbox.html] +Most {tips for unicorn}[https://bogomips.org/unicorn/Sandbox.html] for Bundler and Isolate apply to \Rainbows! as well. == TLDR (Bundler) diff --git a/TUNING b/TUNING index a4d2498..55a9ad4 100644 --- a/TUNING +++ b/TUNING @@ -1,6 +1,6 @@ = Tuning \Rainbows! -Most of the {tuning notes}[http://unicorn.bogomips.org/TUNING.html] +Most of the {tuning notes}[https://bogomips.org/unicorn/TUNING.html] apply to \Rainbows! as well. \Rainbows! is not particularly optimized at the moment and is designed for applications that spend large amounts of the time waiting on network activity. Thus memory usage and memory @@ -26,7 +26,7 @@ never be the primary goal of the project. the kernel. * If your workers do not seem to be releasing memory to the OS after - traffic spikes, consider the {mall}[http://bogomips.org/mall/] library + traffic spikes, consider the {mall}[https://bogomips.org/mall/] library which allows access to the mallopt(3) function from Ruby. As of October 2009 tcmalloc (the default allocator for Ruby Enterprise Edition) does not release memory back to the kernel, the best it can diff --git a/archive/rfmig.rb b/archive/rfmig.rb index 2569c96..a7d31e5 100644 --- a/archive/rfmig.rb +++ b/archive/rfmig.rb @@ -2,7 +2,7 @@ require 'find' require 'fileutils' rfdir = 'rubyforge.org:/var/www/gforge-projects/rainbows/' -newbase = 'http://rainbows.bogomips.org/' +newbase = 'https://bogomips.org/rainbows/' refresh = '' old = 'rf.old' new = 'rf.new' diff --git a/lib/rainbows.rb b/lib/rainbows.rb index 3c12e79..acfe911 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -4,7 +4,7 @@ require 'unicorn' # the value passed to TCP_DEFER_ACCEPT actually matters in Linux 2.6.32+ Unicorn::SocketHelper::DEFAULTS[:tcp_defer_accept] = 60 -# See http://rainbows.bogomips.org/ for documentation +# See https://bogomips.org/rainbows/ for documentation module Rainbows # :stopdoc: O = {} diff --git a/lib/rainbows/configurator.rb b/lib/rainbows/configurator.rb index 73820a1..10cb60d 100644 --- a/lib/rainbows/configurator.rb +++ b/lib/rainbows/configurator.rb @@ -1,7 +1,7 @@ # -*- encoding: binary -*- # This module adds \Rainbows! to the -# {Unicorn::Configurator}[http://unicorn.bogomips.org/Unicorn/Configurator.html] +# {Unicorn::Configurator}[https://bogomips.org/unicorn/Unicorn/Configurator.html] # \Rainbows!-specific configuration options must be inside a the Rainbows! # block, otherwise Unicorn::Configurator directives may be used anywhere # in the file. diff --git a/lib/rainbows/epoll.rb b/lib/rainbows/epoll.rb index 4fbf9ba..45c4d08 100644 --- a/lib/rainbows/epoll.rb +++ b/lib/rainbows/epoll.rb @@ -3,7 +3,7 @@ require 'sleepy_penguin' require 'sendfile' # Edge-triggered epoll concurrency model using -# {sleepy_penguin}[http://bogomips.org/sleepy_penguin/] for epoll. +# {sleepy_penguin}[https://bogomips.org/sleepy_penguin/] for epoll. # # Unlike more portable options like Coolio and EventMachine, this # is Linux-only, but uses edge-triggering instead of level-triggering, diff --git a/lib/rainbows/reverse_proxy.rb b/lib/rainbows/reverse_proxy.rb index 16a6f65..a4d8390 100644 --- a/lib/rainbows/reverse_proxy.rb +++ b/lib/rainbows/reverse_proxy.rb @@ -3,7 +3,7 @@ require 'socket' require 'thread' require 'uri' -require 'kcar' # http://bogomips.org/kcar/ -- gem install kcar +require 'kcar' # https://bogomips.org/kcar/ -- gem install kcar # This is lightly tested and has an unstable configuration interface. # ***** Do not rely on anything under the ReverseProxy namespace! ***** diff --git a/vs_Unicorn b/vs_Unicorn index 6f910a7..1ae2db3 100644 --- a/vs_Unicorn +++ b/vs_Unicorn @@ -82,7 +82,7 @@ unicorn code), some things are not: to different worker processes, and if your listen() +:backlog+ is overflowing: to other machines in your cluster. -* Accepts the same {signals}[http://unicorn.bogomips.org/SIGNALS.html] +* Accepts the same {signals}[https://bogomips.org/unicorn/SIGNALS.html] for process management, so you can share scripts to manage them (and nginx, too). -- cgit v1.2.3-24-ge0c7