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, ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
specialisation.traefikEnableWebUI.configuration.services.traefik = {
|
||||||
|
staticConfigOptions = {
|
||||||
|
api = {
|
||||||
|
# Enable the web ui
|
||||||
|
insecure = true;
|
||||||
|
dashboard = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.traefik = {
|
services.traefik = {
|
||||||
enable = true;
|
enable = true;
|
||||||
staticConfigOptions = {
|
staticConfigOptions = {
|
||||||
# Enable the web ui
|
|
||||||
api.insecure = true;
|
|
||||||
api.dashboard = true;
|
|
||||||
entryPoints = {
|
entryPoints = {
|
||||||
http = { address = ":80"; };
|
http = { address = ":80"; };
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue