add news
This commit is contained in:
parent
2809a7e118
commit
1ea959ffb6
9 changed files with 250 additions and 0 deletions
hosts
|
@ -48,5 +48,17 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
"news.oxapentane.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
extraConfig = ''
|
||||
client_max_body_size 32M;
|
||||
'';
|
||||
locations = {
|
||||
"/" = {
|
||||
proxyPass = "http://10.34.45.102:8080";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -95,6 +95,14 @@
|
|||
PersistentKeepalive = 25;
|
||||
};
|
||||
}
|
||||
# news
|
||||
{
|
||||
wireguardPeerConfig = {
|
||||
PublicKey = "guzNmsPcQw4EGSLU3X0SP+WPKAcoMc+xv9SLWdHV1V0=";
|
||||
AllowedIPs = [ "10.34.45.102/32" ];
|
||||
PersistentKeepalive = 25;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
networks."oxaproxy" = {
|
||||
|
|
|
@ -8,5 +8,9 @@
|
|||
flake = inputs.self;
|
||||
updateFlake = "github:oxapentane/nix-config/master";
|
||||
};
|
||||
news = {
|
||||
flake = inputs.self;
|
||||
updateFlake = "github:oxapentane/nix-config/master";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue