nginx: Add metrics
This commit is contained in:
parent
612b63b4b3
commit
cb4527d525
7 changed files with 71 additions and 0 deletions
|
@ -50,6 +50,9 @@ in {
|
|||
services.nginx.virtualHosts."${hostName}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
extraConfig = ''
|
||||
access_log /var/log/nginx/${hostName}/access.log upstream_time;
|
||||
'';
|
||||
};
|
||||
|
||||
# Block repeated failed login attempts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue