commit: a21e11f586676f001bb32d1a5786a8ebf7132ba7
parent 0bd21084c42ab6e935c5a53e1ee12aa7bca3b835
Author: Phantasm <phantasm@centrum.cz>
Date: Fri, 22 Nov 2024 19:47:37 +0100
openbsd: unify IPvX placeholders in configs
Diffstat:
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/installation/openbsd/httpd.conf b/installation/openbsd/httpd.conf
@@ -2,8 +2,8 @@
# Default httpd.conf file for Pleroma on OpenBSD
# Simple installation instructions
# 1. Place file in /etc
-# 2. Replace <IPv4 address> with your public IP address
-# 3. If using IPv6, uncomment IPv6 lines and replace <IPv6 address> with your public IPv6 address
+# 2. Replace <ipaddr> with your public IP address
+# 3. If using IPv6, uncomment IPv6 lines and replace <ip6addr> with your public IPv6 address
# 4. Replace all occurences of example.tld with your instance's domain name.
# 5. Check file using 'doas httpd -n'
# 6. Enable and start httpd:
@@ -11,12 +11,12 @@
# # doas rcctl start httpd
#
-ext_inet="<IPv4 address>"
-#ext_inet6="<IPv6 address>"
+ext_inet="<ipaddr>"
+#ext_inet6="<ip6addr>"
server "example.tld" {
listen on $ext_inet port 80 # Comment to disable listening on IPv4
-# listen on $ext_inet6 port 80 # Comment to disable listening on IPv6
+ #listen on $ext_inet6 port 80 # Comment to disable listening on IPv6
listen on 127.0.0.1 port 80 # Do NOT comment this line
log syslog
diff --git a/installation/openbsd/relayd.conf b/installation/openbsd/relayd.conf
@@ -3,7 +3,7 @@
# Simple installation instructions:
# 1. Place in /etc
# 2. Replace <ipaddr> with your public IPv4 address
-# 3. If using IPv6i, uncomment IPv6 lines and replace <ip6addr> with your public IPv6 address
+# 3. If using IPv6, uncomment IPv6 lines and replace <ip6addr> with your public IPv6 address
# 4. Replace all occurrences of example.tld with your instance's domain
# 5. Check file using 'doas relayd -n'
# 6. Reload/start relayd