feat: add media revproxy

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-10-31 19:30:35 +01:00
parent 43322818de
commit 36c996a5c0
Signed by: lander
GPG key ID: 0142722B4B0C536F

View file

@ -174,6 +174,15 @@
};
};
services.nginx.virtualHosts."media.escapeangle.com" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:8096";
proxyWebsockets = true;
};
};
sops = {
defaultSopsFile = ./hosting-02.yaml;
secrets = {