mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 10:09:04 +02:00
Added Authelia : en chantier
This commit is contained in:
parent
8d4b959af6
commit
ff54bc72b5
7 changed files with 232 additions and 9 deletions
|
@ -1,5 +1,4 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
|
@ -38,6 +37,7 @@
|
|||
subdomain = "docs";
|
||||
};
|
||||
};
|
||||
homer.enable = true;
|
||||
bruit = {
|
||||
enable = true;
|
||||
nginx = {
|
||||
|
@ -76,8 +76,7 @@
|
|||
system.stateVersion = "21.11";
|
||||
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ ];
|
||||
networking.firewall = {
|
||||
allowedUDPPorts = [ 51820 ];
|
||||
};
|
||||
networking.nat.enable = true;
|
||||
|
@ -126,7 +125,11 @@
|
|||
allowedIPs = [ "10.100.0.8/32" ];
|
||||
publicKey = "EmWRWnZfr60ekm4ZLdwa6gXU6V3p39p6tWOZ03dL+DA=";
|
||||
}
|
||||
];
|
||||
{
|
||||
allowedIPs = [ "10.100.0.9/32" ];
|
||||
publicKey = "z85y4nc+7O7t2I4VqP0SAKJOD46PlkXoEPiuGOBS+SI=";
|
||||
}
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
|
@ -134,10 +137,13 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
services.nginx.virtualHosts."jellyfin.mondon.me" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyWebsockets = true;
|
||||
proxyPass = "http://10.100.0.4";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue