manatee: Expose komga publicly via komga.ppp.pm

This commit is contained in:
Alexander Heldt
2026-03-02 21:41:41 +01:00
parent 65569f6b57
commit 4f5de3b4cc
3 changed files with 53 additions and 26 deletions

View File

@@ -47,6 +47,7 @@ in
server.port = 8002;
komga."cors.allowed-origins" = [
"http://manatee:8888"
"https://komga.ppp.pm"
];
};
@@ -68,6 +69,16 @@ in
tryFiles = "$uri $uri/ /komga-reader.html";
};
};
virtualHosts."komga.ppp.pm" = {
forceSSL = true;
useACMEHost = "komga.ppp.pm";
locations."/" = {
proxyPass = "http://127.0.0.1:8002";
proxyWebsockets = true;
};
};
};
networking.firewall.allowedTCPPorts = [ 8888 ];