services/crowdsec-traefik-bouncer: create directory for plugins storage
This commit is contained in:
@@ -35,6 +35,13 @@ in
|
||||
};
|
||||
|
||||
config = mkIf (cfg.enable && config.services.traefik.enable) {
|
||||
# Create log dir for access logs, then allow traefik to access them
|
||||
systemd = {
|
||||
tmpfiles.rules = [
|
||||
"d ${config.services.traefik.dataDir}/plugins-storage 0750 traefik traefik -"
|
||||
];
|
||||
};
|
||||
|
||||
services.traefik = {
|
||||
staticConfigOptions = {
|
||||
experimental = {
|
||||
|
||||
Reference in New Issue
Block a user