openbsd httpd: use more appropriate HTTP response code for redirect
This commit is contained in:
parent
3b5b3ba4fc
commit
accdefb8db
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue