Use aciceri.dev domains for VPNs too
This commit is contained in:
parent
a8b1fed384
commit
9677a6ca77
11 changed files with 62 additions and 71 deletions
|
@ -1,3 +1,4 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.adguardhome = {
|
||||
enable = true;
|
||||
|
@ -15,4 +16,13 @@
|
|||
environment.persistence."/persist".directories = [
|
||||
"/var/lib/AdGuardHome"
|
||||
];
|
||||
|
||||
services.nginx.virtualHosts."adguard.sisko.wg.aciceri.dev" = {
|
||||
forceSSL = true;
|
||||
useACMEHost = "aciceri.dev";
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${builtins.toString config.services.adguardhome.port}";
|
||||
};
|
||||
serverAliases = [ "adguard.sisko.zt.aciceri.dev" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue