hosts/hydra: add http to restricted mode allow urls
This commit is contained in:
parent
a715d55d96
commit
3d48949629
@ -21,6 +21,9 @@
|
|||||||
networking.defaultGateway = { address = "192.168.10.1"; interface = "ens19"; };
|
networking.defaultGateway = { address = "192.168.10.1"; interface = "ens19"; };
|
||||||
networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ];
|
networking.nameservers = [ "2001:638:904:ffcc::3" "2001:638:904:ffcc::4" "141.24.40.3" "141.24.40.4" ];
|
||||||
|
|
||||||
|
# Allow Hydra to fetch remote URLs in restricted mode
|
||||||
|
nix.settings.allowed-uris = "http:// https://";
|
||||||
|
|
||||||
services.hydra = {
|
services.hydra = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 3001;
|
port = 3001;
|
||||||
|
Loading…
Reference in New Issue
Block a user