From 46fdbc79a21f4a98c2d2166f99976cbad8fef15a Mon Sep 17 00:00:00 2001 From: Sean Whalen Date: Tue, 31 Jul 2018 10:48:04 -0400 Subject: [PATCH] Fix HTTPS redirect in example NGINX config --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 359272a..1cc2a9e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -373,7 +373,7 @@ Create the web server configuration server { listen 80; - return 301 https://$server_name$request_uri; + return 301 https://$host$request_uri; }