nixos/awstats: change path to nginx logs
This commit is contained in:
@@ -24,7 +24,7 @@ let
|
|||||||
|
|
||||||
logFile = mkOption {
|
logFile = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
example = "/var/spool/nginx/logs/access.log";
|
example = "/var/log/nginx/access.log";
|
||||||
description = ''
|
description = ''
|
||||||
The log file to be scanned.
|
The log file to be scanned.
|
||||||
|
|
||||||
@@ -110,7 +110,7 @@ in
|
|||||||
{
|
{
|
||||||
"mysite" = {
|
"mysite" = {
|
||||||
domain = "example.com";
|
domain = "example.com";
|
||||||
logFile = "/var/spool/nginx/logs/access.log";
|
logFile = "/var/log/nginx/access.log";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user