diff options
author | Vincent Ambo <tazjin@google.com> | 2020-02-21T16·01+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-02-21T16·01+0000 |
commit | 1e51a2135d243f6bbfeac020143b720e813cde0c (patch) | |
tree | 1067f2b5e7831b9313839ce36e7d2dff391a11e6 /ops | |
parent | 703aebe6a923be294d56b4018941d82881e09417 (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.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix index 4d6f92545581..5d10c9fd1376 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 = { |