From 981f561a726bb4307d01e4a09a308edba8d69fe3 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 18 Oct 2018 20:55:30 +0000 Subject: doc: update more URLs to use HTTPS and avoid redirects Latency from redirects is painful, and HTTPS can protect privacy in some cases. --- examples/logrotate.conf | 2 +- examples/nginx.conf | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/logrotate.conf b/examples/logrotate.conf index 437f6c6..77a01b5 100644 --- a/examples/logrotate.conf +++ b/examples/logrotate.conf @@ -2,7 +2,7 @@ # /etc/logrotate.d/unicorn_app on my Debian systems # # See the logrotate(8) manpage for more information: -# http://linux.die.net/man/8/logrotate +# https://linux.die.net/man/8/logrotate # # public logrotate-related discussion in our archives: # https://bogomips.org/unicorn-public/?q=logrotate diff --git a/examples/nginx.conf b/examples/nginx.conf index e25712f..b6b69c1 100644 --- a/examples/nginx.conf +++ b/examples/nginx.conf @@ -56,7 +56,8 @@ http { # to configure it all in one place here for static files and also # to disable gzip for clients who don't get gzip/deflate right. # There are other gzip settings that may be needed used to deal with - # bad clients out there, see http://wiki.nginx.org/NginxHttpGzipModule + # bad clients out there, see + # https://nginx.org/en/docs/http/ngx_http_gzip_module.html gzip on; gzip_http_version 1.0; gzip_proxied any; @@ -117,7 +118,7 @@ http { location @app { # an HTTP header important enough to have its own Wikipedia entry: - # http://en.wikipedia.org/wiki/X-Forwarded-For + # https://en.wikipedia.org/wiki/X-Forwarded-For proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # enable this if you forward HTTPS traffic to unicorn, -- cgit v1.2.3-24-ge0c7