mirror of
https://github.com/ordinary-dev/nixos-config.git
synced 2024-10-18 21:15:22 +05:00
17 lines
319 B
Nix
17 lines
319 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
services.jellyfin = {
|
|
enable = true;
|
|
};
|
|
|
|
services.nginx.virtualHosts."jf.comfycamp.space" = {
|
|
useACMEHost = "comfycamp.space";
|
|
forceSSL = true;
|
|
locations = {
|
|
"/" = {
|
|
proxyPass = "http://127.0.0.1:8096";
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
};
|
|
}
|