summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--machines/corsac/default.nix1
-rw-r--r--modules/jellyfin.nix10
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