Skip to content

Instantly share code, notes, and snippets.

@aivis
aivis / nginx.conf
Created May 3, 2017 19:07 — forked from erikcw/nginx.conf
Simple nginx lua script to add UUID to each request for end to end request tracking.
# Dependencies
# nginx_lua
# lua uuid module (luarocks install uuid)
http {
# this will be the request id
map $host $request_uuid {
default '';
}