refactor(greatyamada): Change port definitions format
This commit is contained in:
parent
f71272abe5
commit
0e6432592d
12 changed files with 64 additions and 60 deletions
|
@ -1,11 +1,11 @@
|
|||
{ ... }:
|
||||
let portDefinitions = import ./_port-definitions.nix;
|
||||
let ports = import ./_port-definitions.nix;
|
||||
in {
|
||||
services = {
|
||||
jellyfin.enable = true;
|
||||
nginx.virtualHosts."jellyfin.rcia.dev" = {
|
||||
locations."/".proxyPass =
|
||||
"http://127.0.0.1:${toString portDefinitions.jellyfin-http}";
|
||||
"http://127.0.0.1:${toString ports.tcp.jellyfin}";
|
||||
forceSSL = true;
|
||||
useACMEHost = "rcia.dev";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue