summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-04-08 23:41:48 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-04-08 23:41:48 +0200
commit7cd1fc1f58b05c54ecab06be4b908b6a14a69425 (patch)
tree01ff2c495ca1b7192ccba1d947a87b8a2c3abc65 /hosts
parent0effcb96a33d83171e79fcc76fa3b8c9b413f225 (diff)
downloadnixos-7cd1fc1f58b05c54ecab06be4b908b6a14a69425.tar
nixos-7cd1fc1f58b05c54ecab06be4b908b6a14a69425.tar.gz
nixos-7cd1fc1f58b05c54ecab06be4b908b6a14a69425.tar.bz2
nixos-7cd1fc1f58b05c54ecab06be4b908b6a14a69425.tar.xz
nixos-7cd1fc1f58b05c54ecab06be4b908b6a14a69425.zip
vidhar: ...
Diffstat (limited to 'hosts')
-rw-r--r--hosts/vidhar/default.nix9
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}" = {}; };