mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
nixos/matrix-synapse service: url_preview_url_blacklist fix (#40027)
Moved list of ip ranges to url_preview_ip_range_blacklist defaults. Fixes #40017
This commit is contained in:
parent
7a39cb90a1
commit
560e91f1a7
@ -395,7 +395,14 @@ in {
|
|||||||
};
|
};
|
||||||
url_preview_ip_range_blacklist = mkOption {
|
url_preview_ip_range_blacklist = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
default = [];
|
default = [
|
||||||
|
"127.0.0.0/8"
|
||||||
|
"10.0.0.0/8"
|
||||||
|
"172.16.0.0/12"
|
||||||
|
"192.168.0.0/16"
|
||||||
|
"100.64.0.0/10"
|
||||||
|
"169.254.0.0/16"
|
||||||
|
];
|
||||||
description = ''
|
description = ''
|
||||||
List of IP address CIDR ranges that the URL preview spider is denied
|
List of IP address CIDR ranges that the URL preview spider is denied
|
||||||
from accessing.
|
from accessing.
|
||||||
@ -412,14 +419,7 @@ in {
|
|||||||
};
|
};
|
||||||
url_preview_url_blacklist = mkOption {
|
url_preview_url_blacklist = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
default = [
|
default = [];
|
||||||
"127.0.0.0/8"
|
|
||||||
"10.0.0.0/8"
|
|
||||||
"172.16.0.0/12"
|
|
||||||
"192.168.0.0/16"
|
|
||||||
"100.64.0.0/10"
|
|
||||||
"169.254.0.0/16"
|
|
||||||
];
|
|
||||||
description = ''
|
description = ''
|
||||||
Optional list of URL matches that the URL preview spider is
|
Optional list of URL matches that the URL preview spider is
|
||||||
denied from accessing.
|
denied from accessing.
|
||||||
|
Loading…
Reference in New Issue
Block a user