OpenBSD relayd: Fix IPv6 example

relayd has problems loading certs when IPv4 and IPv6 listens are in the
same relay block.
This commit is contained in:
Phantasm 2025-12-17 19:08:17 +01:00
commit ed7ad7d96a
No known key found for this signature in database
GPG key ID: 2669E588BCC634C8
2 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1 @@
OpenBSD relayd: Fix IPv6 example

View file

@ -56,7 +56,6 @@ http protocol pleroma { # Protocol for upstream Pleroma server
relay wwwtls {
listen on $ext_inet port https tls # Comment to disable listening on IPv4
#listen on $ext_inet6 port https tls # Comment to disable listening on IPv6
protocol pleroma
@ -66,3 +65,16 @@ relay wwwtls {
# Example:
#forward to <httpd_server> port 8080
}
# Uncomment relay block to enable IPv6
#relay wwwtls6 {
# listen on $ext_inet6 port https tls
# protocol pleroma
# forward to <pleroma_server> port 4000 check tcp timeout 500 # Adjust timeout accordingly when relayd returns 502 while Pleroma is running without problems.
# # When serving multiple services, add the forwards here.
# # Example:
# #forward to <httpd_server> port 8080
#}