mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 04:04:16 +00:00
improve YAML syntax for defining allowed IPs
This commit is contained in:
@@ -321,9 +321,24 @@ attachLdSignatureForRelays: true
|
||||
# For security reasons, uploading attachments from the intranet is prohibited,
|
||||
# but exceptions can be made from the following settings. Default value is "undefined".
|
||||
# Read changelog to learn more (Improvements of 12.90.0 (2021/09/04)).
|
||||
#allowedPrivateNetworks: [
|
||||
# '127.0.0.1/32'
|
||||
#]
|
||||
# Some example configurations:
|
||||
#allowedPrivateNetworks:
|
||||
# # Allow connections to 127.0.0.1 on any port
|
||||
# - '127.0.0.1/32'
|
||||
# # Allow connections to 127.0.0.* on any port
|
||||
# - '127.0.0.1/24'
|
||||
# # Allow connections to 127.0.0.1 on any port
|
||||
# - '127.0.0.1'
|
||||
# # Allow connections to 127.0.0.1 on any port
|
||||
# - network: '127.0.0.1'
|
||||
# # Allow connections to 127.0.0.1 on port 80
|
||||
# - network: '127.0.0.1'
|
||||
# ports: [80]
|
||||
# # Allow connections to 127.0.0.1 on port 80 or 443
|
||||
# - network: '127.0.0.1'
|
||||
# ports:
|
||||
# - 80
|
||||
# - 443
|
||||
|
||||
#customMOTD: ['Hello World', 'The sharks rule all', 'Shonks']
|
||||
|
||||
|
||||
@@ -269,9 +269,27 @@ proxyRemoteFiles: true
|
||||
# Sign to ActivityPub GET request (default: true)
|
||||
signToActivityPubGet: true
|
||||
|
||||
allowedPrivateNetworks: [
|
||||
'127.0.0.1/32'
|
||||
]
|
||||
# For security reasons, uploading attachments from the intranet is prohibited,
|
||||
# but exceptions can be made from the following settings. Default value is "undefined".
|
||||
# Read changelog to learn more (Improvements of 12.90.0 (2021/09/04)).
|
||||
# Some example configurations:
|
||||
allowedPrivateNetworks:
|
||||
# Allow connections to 127.0.0.1 on any port
|
||||
- '127.0.0.1/32'
|
||||
# # Allow connections to 127.0.0.* on any port
|
||||
# - '127.0.0.1/24'
|
||||
# # Allow connections to 127.0.0.1 on any port
|
||||
# - '127.0.0.1'
|
||||
# # Allow connections to 127.0.0.1 on any port
|
||||
# - network: '127.0.0.1'
|
||||
# # Allow connections to 127.0.0.1 on port 80
|
||||
# - network: '127.0.0.1'
|
||||
# ports: [80]
|
||||
# # Allow connections to 127.0.0.1 on port 80 or 443
|
||||
# - network: '127.0.0.1'
|
||||
# ports:
|
||||
# - 80
|
||||
# - 443
|
||||
|
||||
# Disable automatic redirect for ActivityPub object lookup. (default: false)
|
||||
# This is a strong defense against potential impersonation attacks if the viewer instance has inadequate validation.
|
||||
|
||||
@@ -378,9 +378,24 @@ attachLdSignatureForRelays: true
|
||||
# For security reasons, uploading attachments from the intranet is prohibited,
|
||||
# but exceptions can be made from the following settings. Default value is "undefined".
|
||||
# Read changelog to learn more (Improvements of 12.90.0 (2021/09/04)).
|
||||
#allowedPrivateNetworks: [
|
||||
# '127.0.0.1/32'
|
||||
#]
|
||||
# Some example configurations:
|
||||
#allowedPrivateNetworks:
|
||||
# # Allow connections to 127.0.0.1 on any port
|
||||
# - '127.0.0.1/32'
|
||||
# # Allow connections to 127.0.0.* on any port
|
||||
# - '127.0.0.1/24'
|
||||
# # Allow connections to 127.0.0.1 on any port
|
||||
# - '127.0.0.1'
|
||||
# # Allow connections to 127.0.0.1 on any port
|
||||
# - network: '127.0.0.1'
|
||||
# # Allow connections to 127.0.0.1 on port 80
|
||||
# - network: '127.0.0.1'
|
||||
# ports: [80]
|
||||
# # Allow connections to 127.0.0.1 on port 80 or 443
|
||||
# - network: '127.0.0.1'
|
||||
# ports:
|
||||
# - 80
|
||||
# - 443
|
||||
|
||||
#customMOTD: ['Hello World', 'The sharks rule all', 'Shonks']
|
||||
|
||||
|
||||
@@ -381,9 +381,24 @@ attachLdSignatureForRelays: true
|
||||
# For security reasons, uploading attachments from the intranet is prohibited,
|
||||
# but exceptions can be made from the following settings. Default value is "undefined".
|
||||
# Read changelog to learn more (Improvements of 12.90.0 (2021/09/04)).
|
||||
#allowedPrivateNetworks: [
|
||||
# '127.0.0.1/32'
|
||||
#]
|
||||
# Some example configurations:
|
||||
#allowedPrivateNetworks:
|
||||
# # Allow connections to 127.0.0.1 on any port
|
||||
# - '127.0.0.1/32'
|
||||
# # Allow connections to 127.0.0.* on any port
|
||||
# - '127.0.0.1/24'
|
||||
# # Allow connections to 127.0.0.1 on any port
|
||||
# - '127.0.0.1'
|
||||
# # Allow connections to 127.0.0.1 on any port
|
||||
# - network: '127.0.0.1'
|
||||
# # Allow connections to 127.0.0.1 on port 80
|
||||
# - network: '127.0.0.1'
|
||||
# ports: [80]
|
||||
# # Allow connections to 127.0.0.1 on port 80 or 443
|
||||
# - network: '127.0.0.1'
|
||||
# ports:
|
||||
# - 80
|
||||
# - 443
|
||||
|
||||
#customMOTD: ['Hello World', 'The sharks rule all', 'Shonks']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user