nginx: Add metrics
This commit is contained in:
parent
612b63b4b3
commit
cb4527d525
7 changed files with 71 additions and 0 deletions
|
@ -33,6 +33,7 @@ in {
|
|||
enableACME = true;
|
||||
extraConfig = ''
|
||||
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
|
||||
access_log /var/log/nginx/${domain}/access.log upstream_time;
|
||||
'';
|
||||
|
||||
locations."/".proxyPass = "http://${httpAddress}:${toString httpPort}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue