From 1693bb8654aa47425f6c74bfac173fea3782286f Mon Sep 17 00:00:00 2001 From: Carl Bennett Date: Thu, 8 Feb 2018 23:52:01 -0600 Subject: [PATCH] Include url query string in http to https redirect --- docs/u_e-80_to_443.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/u_e-80_to_443.md b/docs/u_e-80_to_443.md index 1bd2b5c05..4c7101f30 100644 --- a/docs/u_e-80_to_443.md +++ b/docs/u_e-80_to_443.md @@ -9,7 +9,7 @@ server { listen 80 default_server; listen [::]:80 default_server; include /etc/nginx/conf.d/server_name.active; - return 301 https://$host$request_uri; + return 301 https://$host$uri$is_args$args; } ```