nixos-config/modules/system/services/server/fileserver/jellyfin/nginx/default.nix

12 lines
269 B
Nix
Raw Normal View History

2025-02-25 01:37:56 -05:00
{ config, lib, ... }:
2025-01-16 00:41:00 -05:00
{
2025-02-25 03:03:43 -05:00
services.nginx.virtualHosts."jelly.nixfox.ca" = lib.mkIf config.services.forgejo.enable {
2025-01-16 00:41:00 -05:00
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8096";
proxyWebsockets = true;
};
};
}