Closed hartmantis closed 7 months ago
Because of the way NixOS merges configs, services can "register" themselves with Traefik instead of everything being defined in Traefik's module.
Returning a 403 forbidden is more correct. The allowlist middleware won't accept an empty IP list or I'd have forbidden it from everywhere.
Also removes the now-redundant TLS configs since they're now being set globally in the static config.
Because of the way NixOS merges configs, services can "register" themselves with Traefik instead of everything being defined in Traefik's module.
Returning a 403 forbidden is more correct. The allowlist middleware won't accept an empty IP list or I'd have forbidden it from everywhere.
Also removes the now-redundant TLS configs since they're now being set globally in the static config.