Don't need such fine-grained logs
This commit is contained in:
parent
15f167e32a
commit
1835444855
|
@ -46,13 +46,6 @@ in {
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
commonHttpConfig = ''
|
|
||||||
log_format with_response_time '$remote_addr - $remote_user [$time_local] '
|
|
||||||
'"$request" $status $body_bytes_sent '
|
|
||||||
'"$http_referer" "$http_user_agent" '
|
|
||||||
'"$request_time" "$upstream_response_time"';
|
|
||||||
access_log /var/log/nginx/access.log with_response_time;
|
|
||||||
'';
|
|
||||||
clientMaxBodySize = "1024M";
|
clientMaxBodySize = "1024M";
|
||||||
virtualHosts = genAttrs cfg.hostnames (hostname: {
|
virtualHosts = genAttrs cfg.hostnames (hostname: {
|
||||||
enableACME = false;
|
enableACME = false;
|
||||||
|
|
Loading…
Reference in New Issue