16 lines
278 B
Nix
16 lines
278 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
services.traefik = {
|
|
enable = true;
|
|
staticConfigOptions = {
|
|
# Enable the web ui
|
|
api.insecure = true;
|
|
api.dashboard = true;
|
|
entryPoints = {
|
|
http = { address = ":80"; };
|
|
};
|
|
};
|
|
};
|
|
networking.firewall.allowedTCPPorts = [ 80 8080 ];
|
|
}
|