LoutreOS: indexation de logs nginx avec Loki
This commit is contained in:
parent
8a2ca1fa21
commit
21740ed665
3 changed files with 111 additions and 1 deletions
|
@ -222,7 +222,12 @@ in
|
|||
include ${pkgs.nginx}/conf/fastcgi.conf;
|
||||
'';
|
||||
};
|
||||
} // { root = "/mnt/medias/iso_linux"; };
|
||||
} // {
|
||||
root = "/mnt/medias/iso_linux";
|
||||
extraConfig = ''
|
||||
access_log /var/log/nginx/$host.log;
|
||||
'';
|
||||
};
|
||||
};
|
||||
appendConfig = let
|
||||
rootLocation = config.services.nginx.virtualHosts."stream.nyanlout.re".locations."/".root;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue