From 3a1e7b4ee15080e6042b0ed1ee3a5c2fe9ac1751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Peters?= Date: Fri, 9 Feb 2018 09:11:59 +0100 Subject: [PATCH] [Nginx] Pass args when redirecting to https --- data/conf/nginx/site.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/conf/nginx/site.conf b/data/conf/nginx/site.conf index 84f27728..5e35cdcf 100644 --- a/data/conf/nginx/site.conf +++ b/data/conf/nginx/site.conf @@ -34,7 +34,7 @@ server { include /etc/nginx/conf.d/server_name.active; if ($non_internal) { - return 302 https://$server_name$request_uri; + return 302 https://$server_name$uri$is_args$args; } error_log /var/log/nginx/error.log;