mdrss-proxy: init

This commit is contained in:
makefu 2025-01-30 21:27:25 +01:00
parent d2de0477b4
commit 40e6fd0418
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225

View file

@ -0,0 +1,19 @@
{config, ... }:
let
port = 3008;
domain = "mdrss.euer.krebsco.de";
in
{
security.acme.certs."euer.krebsco.de".extraDomainNames = [domain];
services.nginx = {
virtualHosts."${domain}" = {
useACMEHost = "euer.krebsco.de";
forceSSL = true;
locations."/" = {
proxyPass = "http://omo.w:${toString port}";
proxyWebsockets = true;
};
};
};
}