Disable registration and archive unused services
This commit is contained in:
parent
36e33dd5cb
commit
f34246f8fd
5 changed files with 1 additions and 2 deletions
14
nixos/server/archived/adguard.nix
Normal file
14
nixos/server/archived/adguard.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
services = {
|
||||
adguardhome.enable = true;
|
||||
nginx.virtualHosts."guard.${outputs.secrets.jimDomain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:3000";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedUDPPorts = [ 53 ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue