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/nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples/nginx.conf') 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