defer tls/ssl to hyperserver
This commit is contained in:
parent
f57f9a37f6
commit
5f7cb33867
12 changed files with 50 additions and 82 deletions
15
jellyfin.nix
15
jellyfin.nix
|
|
@ -1,23 +1,16 @@
|
|||
{ config, ... }:
|
||||
|
||||
let
|
||||
{config, ...}: let
|
||||
domain = "jelly.sondell.org";
|
||||
# derp = "hi";
|
||||
in
|
||||
{
|
||||
#
|
||||
# derp = "hi";
|
||||
in {
|
||||
#
|
||||
services.jellyfin = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
|
||||
services.nginx.virtualHosts.${domain} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8096/";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue