From accdefb8db480066ca06176db94b7c82c74cd6b9 Mon Sep 17 00:00:00 2001 From: Phantasm Date: Wed, 27 Nov 2024 21:46:50 +0100 Subject: [PATCH] openbsd httpd: use more appropriate HTTP response code for redirect --- installation/openbsd/httpd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation/openbsd/httpd.conf b/installation/openbsd/httpd.conf index c8ddae629..f37325d91 100644 --- a/installation/openbsd/httpd.conf +++ b/installation/openbsd/httpd.conf @@ -27,7 +27,7 @@ server "example.tld" { request strip 2 } - location "/*" { block return 302 "https://$HTTP_HOST$REQUEST_URI" } + location "/*" { block return 301 "https://$HTTP_HOST$REQUEST_URI" } } # Example of serving a basic static website besides Pleroma using the example configuration in relayd