firewall
This commit is contained in:
parent
2474b123d7
commit
9e9e5bb714
@ -247,6 +247,20 @@ in
|
||||
hostId = "a6b19da0";
|
||||
hostName = "fwminex";
|
||||
domain = "servers.jakst";
|
||||
firewall.rejectPackets = true;
|
||||
firewall = {
|
||||
rejectPackets = true;
|
||||
allowedUDPPorts = [
|
||||
53
|
||||
80
|
||||
443
|
||||
];
|
||||
allowedTCPPorts = [
|
||||
53
|
||||
80
|
||||
443
|
||||
config.services.syncthing.relay.port
|
||||
config.services.syncthing.relay.statusPort
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -76,7 +76,8 @@
|
||||
'';
|
||||
|
||||
caddy = {
|
||||
virtualHosts."git.jakstys.lt".extraConfig = ''
|
||||
# TODO: http migration
|
||||
virtualHosts."git.jakstys.lt:80".extraConfig = ''
|
||||
route /static/assets/* {
|
||||
uri strip_prefix /static
|
||||
file_server * {
|
||||
|
Loading…
Reference in New Issue
Block a user