openbsd: unify IPvX placeholders in configs
This commit is contained in:
parent
0bd21084c4
commit
a21e11f586
2 changed files with 6 additions and 6 deletions
|
|
@ -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,12 +11,12 @@
|
||||||
# # 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
|
||||||
# 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
|
listen on 127.0.0.1 port 80 # Do NOT comment this line
|
||||||
|
|
||||||
log syslog
|
log syslog
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue