From 5caaaeb2bd84ea2b10728a41ad9b64b93ee2ef3d Mon Sep 17 00:00:00 2001 From: Billy Zhou Date: Fri, 24 May 2019 11:48:43 +0200 Subject: [PATCH] Use $server_name instead of hardcoded domain. --- contrib/nginx/zammad_ssl.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/nginx/zammad_ssl.conf b/contrib/nginx/zammad_ssl.conf index 47457cdec..ed17d0d48 100644 --- a/contrib/nginx/zammad_ssl.conf +++ b/contrib/nginx/zammad_ssl.conf @@ -28,7 +28,7 @@ server { root /var/www/html; } - return 301 https://example.com$request_uri; + return 301 https://$server_name$request_uri; }