roles/appserver: enable traefik logging
This commit is contained in:
@@ -38,6 +38,21 @@ in
|
||||
package = pkgsUnstable.traefik;
|
||||
|
||||
staticConfigOptions = {
|
||||
log = {
|
||||
level = "INFO";
|
||||
};
|
||||
|
||||
accessLog = {
|
||||
format = "json";
|
||||
filePath = "/var/log/traefik/access.log";
|
||||
fields = {
|
||||
defaultMode = "keep";
|
||||
};
|
||||
fields.headers = {
|
||||
defaultMode = "keep";
|
||||
};
|
||||
};
|
||||
|
||||
entryPoints = {
|
||||
web = {
|
||||
address = ":80";
|
||||
|
Reference in New Issue
Block a user