try
This commit is contained in:
@@ -8,8 +8,16 @@
|
||||
config = lib.mkIf config.sysconfig.virtualization.traefik.enable {
|
||||
|
||||
networking = {
|
||||
hosts."192.168.100.11" = [ "esotericbytes.com" "*.esotericbytes.com" "traefik.local" ];
|
||||
firewall.allowedTCPPorts = [ 22 80 443];
|
||||
hosts."192.168.100.11" = [
|
||||
|
||||
"esotericbytes.com"
|
||||
"*.esotericbytes.com"
|
||||
|
||||
"esotericbytes.local"
|
||||
"*.esotericbytes.local"
|
||||
];
|
||||
|
||||
firewall.allowedTCPPorts = [ 22 80 443 ];
|
||||
|
||||
nat.internalInterfaces = [ "ve-traefik" ];
|
||||
};
|
||||
@@ -156,13 +164,13 @@
|
||||
"nextcloud_redirectregex"
|
||||
];
|
||||
};
|
||||
/*traefik = {
|
||||
traefik = {
|
||||
entryPoints = [ "websecure" ];
|
||||
rule = "Host(`192.168.100.11`) || Host(`homebox.vpn`)";
|
||||
rule = "Host(`traefik.esotericbytes.local`)";
|
||||
service = "api@internal";
|
||||
tls.certResolver = "cloudflare";
|
||||
#middlewares = [ "authentik" ];
|
||||
};*/
|
||||
};
|
||||
/*ntfy = {
|
||||
entryPoints = [ "websecure" ];
|
||||
rule = "Host(`ntfy.esotericbytes.com`)";
|
||||
|
||||
Reference in New Issue
Block a user