diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-05-13 22:19:24 -0400 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-05-13 22:19:24 -0400 |
| commit | 5116586d79df7216b124e74715f6414ffffa7e3a (patch) | |
| tree | 36d233908b14e7eddd1c10f12e4c15b0933418a5 /.config/example.yml | |
| parent | allow private IP ranges to specify allowed ports (diff) | |
| download | sharkey-5116586d79df7216b124e74715f6414ffffa7e3a.tar.gz sharkey-5116586d79df7216b124e74715f6414ffffa7e3a.tar.bz2 sharkey-5116586d79df7216b124e74715f6414ffffa7e3a.zip | |
improve YAML syntax for defining allowed IPs
Diffstat (limited to '.config/example.yml')
| -rw-r--r-- | .config/example.yml | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/.config/example.yml b/.config/example.yml index d0ed4defaa..9cb1e656c1 100644 --- a/.config/example.yml +++ b/.config/example.yml @@ -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'] |