Compare commits
2 commits
c7557fdef9
...
897c1f57a8
| Author | SHA1 | Date | |
|---|---|---|---|
| 897c1f57a8 | |||
| 00df5ff49b |
1 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ in {
|
||||||
proxy_read_timeout 600;
|
proxy_read_timeout 600;
|
||||||
proxy_send_timeout 600;
|
proxy_send_timeout 600;
|
||||||
client_max_body_size 100m;
|
client_max_body_size 100m;
|
||||||
access_log syslog:server=unix:/dev/log,tag=photoprism;
|
access_log /var/log/nginx/photoprism_access.log;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -98,6 +98,7 @@ in {
|
||||||
filter = photoprism-failed-login
|
filter = photoprism-failed-login
|
||||||
port = http,https
|
port = http,https
|
||||||
maxretry = 3
|
maxretry = 3
|
||||||
|
logpath = /var/log/nginx/photoprism_access.log
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -106,7 +107,6 @@ in {
|
||||||
[Definition]
|
[Definition]
|
||||||
failregex = ^<HOST> -.*"POST \/api\/v1\/session HTTP[^"]*" 400 .*$
|
failregex = ^<HOST> -.*"POST \/api\/v1\/session HTTP[^"]*" 400 .*$
|
||||||
ignoreregex =
|
ignoreregex =
|
||||||
journalmatch = _SYSTEMD_UNIT=nginx.service
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue