This commit is contained in:
Grigory Shipunov 2023-05-15 16:50:29 +02:00
parent 2809a7e118
commit 1ea959ffb6
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
9 changed files with 250 additions and 0 deletions

View file

@ -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";
};
};
};
};
}

View file

@ -95,6 +95,14 @@
PersistentKeepalive = 25;
};
}
# news
{
wireguardPeerConfig = {
PublicKey = "guzNmsPcQw4EGSLU3X0SP+WPKAcoMc+xv9SLWdHV1V0=";
AllowedIPs = [ "10.34.45.102/32" ];
PersistentKeepalive = 25;
};
}
];
};
networks."oxaproxy" = {