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:
parent
c06fcc7f5d
commit
ed7ad7d96a
2 changed files with 14 additions and 1 deletions
1
changelog.d/relayd-ipv6.fix
Normal file
1
changelog.d/relayd-ipv6.fix
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
OpenBSD relayd: Fix IPv6 example
|
||||||
|
|
@ -56,7 +56,6 @@ http protocol pleroma { # Protocol for upstream Pleroma server
|
||||||
|
|
||||||
relay wwwtls {
|
relay wwwtls {
|
||||||
listen on $ext_inet port https tls # Comment to disable listening on IPv4
|
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
|
protocol pleroma
|
||||||
|
|
||||||
|
|
@ -66,3 +65,16 @@ relay wwwtls {
|
||||||
# Example:
|
# Example:
|
||||||
#forward to <httpd_server> port 8080
|
#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
|
||||||
|
#}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue