l yellow.r: add retiolum html listing

This commit is contained in:
lassulus 2018-12-02 05:45:33 +01:00
parent 7a0756c78a
commit 1ac25c33a9

View File

@ -32,16 +32,24 @@ with import <stockholm/lib>;
}; };
}; };
services.nginx = {
enable = true;
virtualHosts."yellow.r".locations."/dl".extraConfig = ''
autoindex on;
alias /var/download/finished;
'';
};
krebs.iptables = { krebs.iptables = {
enable = true; enable = true;
tables.filter.INPUT.rules = [ tables.filter.INPUT.rules = [
{ predicate = "-p tcp --dport 80"; target = "ACCEPT"; }
{ predicate = "-p tcp --dport 9091"; target = "ACCEPT"; } { predicate = "-p tcp --dport 9091"; target = "ACCEPT"; }
{ predicate = "-p tcp --dport 51413"; target = "ACCEPT"; } { predicate = "-p tcp --dport 51413"; target = "ACCEPT"; }
{ predicate = "-p udp --dport 51413"; target = "ACCEPT"; } { predicate = "-p udp --dport 51413"; target = "ACCEPT"; }
]; ];
}; };
services.nginx.enable = true;
services.openvpn.servers.nordvpn.config = '' services.openvpn.servers.nordvpn.config = ''
client client
dev tun dev tun