diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-08 23:41:48 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-08 23:41:48 +0200 |
commit | 7cd1fc1f58b05c54ecab06be4b908b6a14a69425 (patch) | |
tree | 01ff2c495ca1b7192ccba1d947a87b8a2c3abc65 /hosts/vidhar | |
parent | 0effcb96a33d83171e79fcc76fa3b8c9b413f225 (diff) | |
download | nixos-7cd1fc1f58b05c54ecab06be4b908b6a14a69425.tar nixos-7cd1fc1f58b05c54ecab06be4b908b6a14a69425.tar.gz nixos-7cd1fc1f58b05c54ecab06be4b908b6a14a69425.tar.bz2 nixos-7cd1fc1f58b05c54ecab06be4b908b6a14a69425.tar.xz nixos-7cd1fc1f58b05c54ecab06be4b908b6a14a69425.zip |
vidhar: ...
Diffstat (limited to 'hosts/vidhar')
-rw-r--r-- | hosts/vidhar/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index f9b021d3..69ca1403 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix | |||
@@ -122,6 +122,15 @@ | |||
122 | recommendedTlsSettings = true; | 122 | recommendedTlsSettings = true; |
123 | commonHttpConfig = '' | 123 | commonHttpConfig = '' |
124 | ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1; | 124 | ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1; |
125 | |||
126 | log_format main | ||
127 | '$remote_addr "$remote_user" ' | ||
128 | '"$host" "$request" $status $bytes_sent ' | ||
129 | '"$http_referer" "$http_user_agent" ' | ||
130 | '$gzip_ratio'; | ||
131 | |||
132 | access_log syslog:server=unix:/dev/log main; | ||
133 | error_log syslog:server=unix:/dev/log info; | ||
125 | ''; | 134 | ''; |
126 | upstreams.grafana = { | 135 | upstreams.grafana = { |
127 | servers = { "unix:${config.services.grafana.socket}" = {}; }; | 136 | servers = { "unix:${config.services.grafana.socket}" = {}; }; |