Lots of stuff
This commit is contained in:
parent
9115983c81
commit
c15fab234d
17 changed files with 10 additions and 86 deletions
6
system/services/server/jellyfin/default.nix
Normal file
6
system/services/server/jellyfin/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
imports = [ ./nginx ];
|
||||
|
||||
services.jellyfin.enable = config.system.server.enable;
|
||||
}
|
11
system/services/server/jellyfin/nginx/default.nix
Normal file
11
system/services/server/jellyfin/nginx/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."jelly.nixfox.ca" = lib.mkIf config.services.forgejo.enable {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8096";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue