Skip to content

Commit

Permalink
Remove invalid Evaka references
Browse files Browse the repository at this point in the history
  • Loading branch information
ilja-git committed Nov 22, 2023
1 parent 59306f4 commit a124682
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/nginx/etc/nginx/conf.d/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ limit_req_zone $binary_remote_addr zone=req_zone_wl:1m rate=100r/s;
#
# This is less performant than the alternative of having an external tool like
# Functionbeat or Logstash ingest the timestamps in another format but
# shouldn't matter in eVaka's context + has the benefit of being human-readable
# shouldn't matter in this context + has the benefit of being human-readable
# in its raw format.
#
# Source: https://thatsamguy.com/nginx-iso8601-time-format/
Expand All @@ -98,14 +98,14 @@ map $msec $millisec {
~\.([0-9]+)$ $1;
}

# Output logs in accordance to eVaka's log schema (type app-requests-received).
# Output logs in accordance to voltti's log schema (type app-requests-received).
# NOTE: userIdHash cannot easily be computed here, so left empty.
log_format json_access escape=json
'{'
'"@timestamp":"$time_iso8601_p1.$millisec+$time_iso8601_p2",'
'"appBuild":"<%= ENV["APP_BUILD"] %>",'
'"appCommit":"<%= ENV["APP_COMMIT"] %>",'
'"appName":"evaka-proxy",'
'"appName":"oppivelvollisuus-proxy",'
'"clientIp":"$remote_addr",'
'"contentLength":$bytes_sent,'
'"env":"<%= ENV["NGINX_ENV"] %>",'
Expand Down

0 comments on commit a124682

Please sign in to comment.