logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: accdefb8db480066ca06176db94b7c82c74cd6b9
parent 3b5b3ba4fc1e714c9d8927bb32f85d56e2f6b3d4
Author: Phantasm <phantasm@centrum.cz>
Date:   Wed, 27 Nov 2024 21:46:50 +0100

openbsd httpd: use more appropriate HTTP response code for redirect

Diffstat:

Minstallation/openbsd/httpd.conf2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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