server { listen 80; server_name localhost; location / { default_type 'text/plain'; content_by_lua_file lua/reqhash.lua; } }