1
0

hosts/web-2: Tune logging for some vhosts

This commit is contained in:
clerie 2023-03-15 20:32:18 +01:00
parent 9de678984c
commit 66187e605a
3 changed files with 9 additions and 0 deletions

View File

@ -32,6 +32,9 @@
'';
return = "200 ''";
};
extraConfig = ''
access_log /var/log/nginx/clerie.de.log combined_anon;
'';
};
};
}

View File

@ -80,6 +80,9 @@
proxyPass = "http://localhost:3000";
};
};
extraConfig = ''
access_log /var/log/nginx/git.clerie.de.log combined_anon;
'';
};
};
}

View File

@ -32,6 +32,9 @@
locations."/" = {
proxyPass = "http://[::1]:8235";
};
extraConfig = ''
access_log off;
'';
};
};
}