openbsd httpd: use more appropriate HTTP response code for redirect

This commit is contained in:
Phantasm 2024-11-27 21:46:50 +01:00
commit accdefb8db
No known key found for this signature in database
GPG key ID: 2669E588BCC634C8

View file

@ -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