openbsd: unify IPvX placeholders in configs

This commit is contained in:
Phantasm 2024-11-22 19:47:37 +01:00
commit a21e11f586
No known key found for this signature in database
GPG key ID: 2669E588BCC634C8
2 changed files with 6 additions and 6 deletions

View file

@ -2,8 +2,8 @@
# Default httpd.conf file for Pleroma on OpenBSD # Default httpd.conf file for Pleroma on OpenBSD
# Simple installation instructions # Simple installation instructions
# 1. Place file in /etc # 1. Place file in /etc
# 2. Replace <IPv4 address> with your public IP address # 2. Replace <ipaddr> with your public IP address
# 3. If using IPv6, uncomment IPv6 lines and replace <IPv6 address> with your public IPv6 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. # 4. Replace all occurences of example.tld with your instance's domain name.
# 5. Check file using 'doas httpd -n' # 5. Check file using 'doas httpd -n'
# 6. Enable and start httpd: # 6. Enable and start httpd:
@ -11,8 +11,8 @@
# # doas rcctl start httpd # # doas rcctl start httpd
# #
ext_inet="<IPv4 address>" ext_inet="<ipaddr>"
#ext_inet6="<IPv6 address>" #ext_inet6="<ip6addr>"
server "example.tld" { server "example.tld" {
listen on $ext_inet port 80 # Comment to disable listening on IPv4 listen on $ext_inet port 80 # Comment to disable listening on IPv4

View file

@ -3,7 +3,7 @@
# Simple installation instructions: # Simple installation instructions:
# 1. Place in /etc # 1. Place in /etc
# 2. Replace <ipaddr> with your public IPv4 address # 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 # 4. Replace all occurrences of example.tld with your instance's domain
# 5. Check file using 'doas relayd -n' # 5. Check file using 'doas relayd -n'
# 6. Reload/start relayd # 6. Reload/start relayd