summaryrefslogtreecommitdiff
path: root/hosts/vidhar/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/default.nix')
-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}" = {}; };