about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-21T16·01+0000
committerVincent Ambo <tazjin@google.com>2020-02-21T16·01+0000
commit1e51a2135d243f6bbfeac020143b720e813cde0c (patch)
tree1067f2b5e7831b9313839ce36e7d2dff391a11e6 /ops
parent703aebe6a923be294d56b4018941d82881e09417 (diff)
fix(ops/nixos/camden): Configure nginx to not log hostnames r/565
Hostname prefixes break JSON serialisation, leading to useless
Stackdriver Logging entries.
Diffstat (limited to 'ops')
-rw-r--r--ops/nixos/camden/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix
index 4d6f925455..5d10c9fd13 100644
--- a/ops/nixos/camden/default.nix
+++ b/ops/nixos/camden/default.nix
@@ -202,7 +202,7 @@ in lib.fix(self: {
           '"http_user_agent":"$http_user_agent"'
       '}';
 
-      access_log syslog:server=unix:/dev/log json_combined;
+      access_log syslog:server=unix:/dev/log,nohostname json_combined;
     '';
 
     virtualHosts.homepage = {