Enable firewall and migrate Jellyfin to NixOS
This commit is contained in:
parent
693c6da88a
commit
5c63b5d1a3
10 changed files with 78 additions and 5 deletions
|
@ -9,7 +9,7 @@
|
|||
hostName = "jellyfin";
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
allowedTCPPorts = [ 80 443 8443 ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -15,6 +15,12 @@
|
|||
port = 443;
|
||||
ssl = true;
|
||||
}
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 8443;
|
||||
ssl = true;
|
||||
proxyProtocol = true;
|
||||
}
|
||||
];
|
||||
locations."= /" = {
|
||||
return = "302 https://$host/web/";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue