whoops! no ports pt. 2

This commit is contained in:
sadan 2025-03-09 19:30:25 -04:00
parent 46c7021263
commit 1c775baa48
No known key found for this signature in database

View file

@ -1,36 +1,38 @@
{config, ...}: {
users = {
groups = {
media = {
gid = 1002;
};
};
};
services = {
jellyfin = {
dataDir = "${config.fileSystems."/storage".mountPoint}/jfData/";
group = "media";
enable = true;
};
};
services = {
nginx = {
virtualHosts = {
"jf.sadan.zip" = {
forceSSL = true;
useACMEHost = "sadan.zip";
locations = {
"/" = {
proxyPass = "http://localhost:8096";
extraConfig = ''
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
'';
};
};
};
{ config, ... }:
{
users = {
groups = {
media = {
gid = 1002;
};
};
};
services = {
jellyfin = {
dataDir = "${config.fileSystems."/storage".mountPoint}/jfData/";
group = "media";
enable = true;
openFirewall = true;
};
};
services = {
nginx = {
virtualHosts = {
"jf.sadan.zip" = {
forceSSL = true;
useACMEHost = "sadan.zip";
locations = {
"/" = {
proxyPass = "http://localhost:8096";
extraConfig = ''
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
'';
};
};
};
};
};
};
}