Server/traefik: only enable web ui in specialisation
This commit is contained in:
parent
486d719d52
commit
3e4b9056f4
1 changed files with 10 additions and 3 deletions
|
|
@ -1,12 +1,19 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
specialisation.traefikEnableWebUI.configuration.services.traefik = {
|
||||
staticConfigOptions = {
|
||||
api = {
|
||||
# Enable the web ui
|
||||
insecure = true;
|
||||
dashboard = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.traefik = {
|
||||
enable = true;
|
||||
staticConfigOptions = {
|
||||
# Enable the web ui
|
||||
api.insecure = true;
|
||||
api.dashboard = true;
|
||||
entryPoints = {
|
||||
http = { address = ":80"; };
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue