diff options
| author | Mel <einebeere@gmail.com> | 2024-11-28 19:16:11 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-11-28 19:16:11 +0100 |
| commit | cef679db99ab47a91af6471dc975caf546b9240f (patch) | |
| tree | 621f14a70b7940d2dc58167ff32f5fe4a0ac4527 | |
| parent | ae381bb102840bbe3016b59165610e51975503f7 (diff) | |
| download | network-cef679db99ab47a91af6471dc975caf546b9240f.tar.zst network-cef679db99ab47a91af6471dc975caf546b9240f.zip | |
Add jelly web host
Signed-off-by: Mel <einebeere@gmail.com>
| -rw-r--r-- | machines/corsac/default.nix | 1 | ||||
| -rw-r--r-- | modules/jellyfin.nix | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/machines/corsac/default.nix b/machines/corsac/default.nix index ba913e2..f9d0a6e 100644 --- a/machines/corsac/default.nix +++ b/machines/corsac/default.nix @@ -9,6 +9,7 @@ ../../modules/dns.nix ../../modules/ddns.nix + ../../modules/www.nix ../../modules/nfs.nix ../../modules/jellyfin.nix ]; diff --git a/modules/jellyfin.nix b/modules/jellyfin.nix index b285161..ae6388b 100644 --- a/modules/jellyfin.nix +++ b/modules/jellyfin.nix @@ -7,6 +7,16 @@ package = auxiliaryPkgs.jellyfin; }; + services.nginx.virtualHosts = { + "jelly.rnrd.eu" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://127.0.0.1:8096"; + }; + }; + }; + environment.systemPackages = (with auxiliaryPkgs; [ jellyfin jellyfin-web |
