From 8eeaabf615658ae3f16ad88a0b3c93e98b8a869e Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 30 Oct 2020 15:24:24 +0100 Subject: [PATCH] bundles/nginx: use http 308 for https redirect basically "go away. nothing's here. use https forever." --- bundles/nginx/files/port80.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/nginx/files/port80.conf b/bundles/nginx/files/port80.conf index 6f1e79a..4aacfa7 100644 --- a/bundles/nginx/files/port80.conf +++ b/bundles/nginx/files/port80.conf @@ -4,7 +4,7 @@ server { server_name _; location / { - return 301 https://$host$request_uri; + return 308 https://$host$request_uri; } location /.well-known/acme-challenge/ {