mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-18 10:17:03 -04:00
whoops! no ports pt. 2
This commit is contained in:
parent
46c7021263
commit
1c775baa48
1 changed files with 34 additions and 32 deletions
|
@ -1,36 +1,38 @@
|
||||||
{config, ...}: {
|
{ config, ... }:
|
||||||
users = {
|
{
|
||||||
groups = {
|
users = {
|
||||||
media = {
|
groups = {
|
||||||
gid = 1002;
|
media = {
|
||||||
};
|
gid = 1002;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services = {
|
};
|
||||||
jellyfin = {
|
services = {
|
||||||
dataDir = "${config.fileSystems."/storage".mountPoint}/jfData/";
|
jellyfin = {
|
||||||
group = "media";
|
dataDir = "${config.fileSystems."/storage".mountPoint}/jfData/";
|
||||||
enable = true;
|
group = "media";
|
||||||
};
|
enable = true;
|
||||||
};
|
openFirewall = true;
|
||||||
services = {
|
};
|
||||||
nginx = {
|
};
|
||||||
virtualHosts = {
|
services = {
|
||||||
"jf.sadan.zip" = {
|
nginx = {
|
||||||
forceSSL = true;
|
virtualHosts = {
|
||||||
useACMEHost = "sadan.zip";
|
"jf.sadan.zip" = {
|
||||||
locations = {
|
forceSSL = true;
|
||||||
"/" = {
|
useACMEHost = "sadan.zip";
|
||||||
proxyPass = "http://localhost:8096";
|
locations = {
|
||||||
extraConfig = ''
|
"/" = {
|
||||||
proxy_http_version 1.1;
|
proxyPass = "http://localhost:8096";
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
extraConfig = ''
|
||||||
proxy_set_header Connection $http_connection;
|
proxy_http_version 1.1;
|
||||||
'';
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
};
|
proxy_set_header Connection $http_connection;
|
||||||
};
|
'';
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue