Skip to content

Commit 981f561

Browse files
author
Eric Wong
committed
doc: update more URLs to use HTTPS and avoid redirects
Latency from redirects is painful, and HTTPS can protect privacy in some cases.
1 parent 5985dd5 commit 981f561

File tree

15 files changed

+33
-32
lines changed

15 files changed

+33
-32
lines changed

.olddoc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
cgit_url: https://bogomips.org/unicorn.git
3-
git_url: git://bogomips.org/unicorn.git
3+
git_url: https://bogomips.org/unicorn.git
44
rdoc_url: https://bogomips.org/unicorn/
55
ml_url: https://bogomips.org/unicorn-public/
66
merge_html:

Application_Timeouts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ Most database adapters allow configurable timeouts.
2323
Net::HTTP and Net::SMTP in the Ruby standard library allow
2424
configurable timeouts.
2525

26-
Even for things as fast as {memcached}[http://memcached.org/],
27-
{dalli}[http://rubygems.org/gems/dalli],
28-
{memcached}[http://rubygems.org/gems/memcached] and
29-
{memcache-client}[http://rubygems.org/gems/memcache-client] RubyGems all
26+
Even for things as fast as {memcached}[https://memcached.org/],
27+
{dalli}[https://rubygems.org/gems/dalli],
28+
{memcached}[https://rubygems.org/gems/memcached] and
29+
{memcache-client}[https://rubygems.org/gems/memcache-client] RubyGems all
3030
offer configurable timeouts.
3131

3232
Consult the relevant documentation for the libraries you use on

Documentation/unicorn.1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,6 @@ the unicorn config file.
182182
* [Rackup HowTo][3]
183183

184184
[1]: https://bogomips.org/unicorn/
185-
[2]: http://www.rubydoc.info/github/rack/rack/
185+
[2]: https://www.rubydoc.info/github/rack/rack/
186186
[3]: https://github.com/rack/rack/wiki/tutorial-rackup-howto
187187
[4]: https://bogomips.org/unicorn/SIGNALS.html

Documentation/unicorn_rails.1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,6 @@ used by Unicorn.
170170
* [Rackup HowTo][3]
171171

172172
[1]: https://bogomips.org/unicorn/
173-
[2]: http://www.rubydoc.info/github/rack/rack/
173+
[2]: https://www.rubydoc.info/github/rack/rack/
174174
[3]: https://github.com/rack/rack/wiki/tutorial-rackup-howto
175175
[4]: https://bogomips.org/unicorn/SIGNALS.html

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ any later version. We currently prefer the GPLv3 or later for
88
derivative works, but the GPLv2 is fine.
99

1010
The complete texts of the GPLv2 and GPLv3 are below:
11-
GPLv2 - http://www.gnu.org/licenses/gpl-2.0.txt
12-
GPLv3 - http://www.gnu.org/licenses/gpl-3.0.txt
11+
GPLv2 - https://www.gnu.org/licenses/gpl-2.0.txt
12+
GPLv3 - https://www.gnu.org/licenses/gpl-3.0.txt
1313

1414
You may (against our _preference_) also use the Ruby 1.8 license terms
1515
which we inherited from the original Mongrel project when we forked it:

Links

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The unicorn project is not responsible for the content in these links.
1010
Furthermore, the unicorn project has never, does not and will never endorse:
1111

1212
* any for-profit entities or services
13-
* any non-{Free Software}[http://www.gnu.org/philosophy/free-sw.html]
13+
* any non-{Free Software}[https://www.gnu.org/philosophy/free-sw.html]
1414

1515
The existence of these links does not imply endorsement of any entities
1616
or services behind them.
@@ -31,25 +31,25 @@ or services behind them.
3131

3232
=== unicorn is written to work with
3333

34-
* {Rack}[http://rack.github.io/] - a minimal interface between webservers
34+
* {Rack}[https://rack.github.io/] - a minimal interface between webservers
3535
supporting Ruby and Ruby frameworks
3636

3737
* {Ruby}[https://www.ruby-lang.org/en/] - the programming language of
3838
Rack and unicorn
3939

40-
* {nginx}[http://nginx.org/] (Free versions) -
40+
* {nginx}[https://nginx.org/] (Free versions) -
4141
the reverse proxy for use with unicorn
4242

4343
=== Derivatives
4444

45-
* {Green Unicorn}[http://gunicorn.org/] - a Python version of unicorn
45+
* {Green Unicorn}[https://gunicorn.org/] - a Python version of unicorn
4646

47-
* {Starman}[http://search.cpan.org/dist/Starman/] - Plack/PSGI version
47+
* {Starman}[https://metacpan.org/release/Starman/] - Plack/PSGI version
4848
of unicorn
4949

5050
=== Prior Work
5151

52-
* {Mongrel}[http://rubygems.org/gems/mongrel] - the awesome webserver
52+
* {Mongrel}[https://rubygems.org/gems/mongrel] - the awesome webserver
5353
unicorn is based on
5454

5555
* {david}[https://bogomips.org/david.git] - a tool to explain why you need

README

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ both the the request and response in between unicorn and slow clients.
1010

1111
* Designed for Rack, Unix, fast clients, and ease-of-debugging. We
1212
cut out everything that is better supported by the operating system,
13-
{nginx}[http://nginx.org/] or {Rack}[http://rack.github.io/].
13+
{nginx}[https://nginx.org/] or {Rack}[https://rack.github.io/].
1414

1515
* Compatible with Ruby 1.9.3 and later.
1616
unicorn 4.x remains supported for Ruby 1.8 users.
@@ -77,13 +77,13 @@ You may install it via RubyGems on RubyGems.org:
7777
You can get the latest source via git from the following locations
7878
(these versions may not be stable):
7979

80-
git://bogomips.org/unicorn.git
81-
git://repo.or.cz/unicorn.git (mirror)
80+
https://bogomips.org/unicorn.git
81+
https://repo.or.cz/unicorn.git (mirror)
8282

8383
You may browse the code from the web:
8484

8585
* https://bogomips.org/unicorn.git
86-
* http://repo.or.cz/w/unicorn.git (gitweb)
86+
* https://repo.or.cz/w/unicorn.git (gitweb)
8787

8888
See the HACKING guide on how to contribute and build prerelease gems
8989
from git.

Sandbox

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Since unicorn includes executables and is usually used to start a Ruby
44
process, there are certain caveats to using it with tools that sandbox
55
RubyGems installations such as
6-
{Bundler}[http://bundler.io/] or
6+
{Bundler}[https://bundler.io/] or
77
{Isolate}[https://github.com/jbarnette/isolate].
88

99
== General deployment
@@ -66,7 +66,7 @@ before_exec hook as illustrated by https://gist.github.com/534668
6666
Ruby 2.0.0 enforces FD_CLOEXEC on file descriptors by default. unicorn
6767
has been prepared for this behavior since unicorn 4.1.0, and bundler
6868
needs the "--keep-file-descriptors" option for "bundle exec":
69-
http://bundler.io/man/bundle-exec.1.html
69+
https://bundler.io/man/bundle-exec.1.html
7070

7171
== Isolate
7272

examples/logrotate.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# /etc/logrotate.d/unicorn_app on my Debian systems
33
#
44
# See the logrotate(8) manpage for more information:
5-
# http://linux.die.net/man/8/logrotate
5+
# https://linux.die.net/man/8/logrotate
66
#
77
# public logrotate-related discussion in our archives:
88
# https://bogomips.org/unicorn-public/?q=logrotate

examples/nginx.conf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ http {
5656
# to configure it all in one place here for static files and also
5757
# to disable gzip for clients who don't get gzip/deflate right.
5858
# There are other gzip settings that may be needed used to deal with
59-
# bad clients out there, see http://wiki.nginx.org/NginxHttpGzipModule
59+
# bad clients out there, see
60+
# https://nginx.org/en/docs/http/ngx_http_gzip_module.html
6061
gzip on;
6162
gzip_http_version 1.0;
6263
gzip_proxied any;
@@ -117,7 +118,7 @@ http {
117118

118119
location @app {
119120
# an HTTP header important enough to have its own Wikipedia entry:
120-
# http://en.wikipedia.org/wiki/X-Forwarded-For
121+
# https://en.wikipedia.org/wiki/X-Forwarded-For
121122
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
122123

123124
# enable this if you forward HTTPS traffic to unicorn,

0 commit comments

Comments
 (0)