Skip to content

Instantly share code, notes, and snippets.

View procrastinatio's full-sized avatar
💭
Post Tenebras Spero Lucem

Marc Mönneråt procrastinatio

💭
Post Tenebras Spero Lucem
View GitHub Profile
@morhekil
morhekil / nginx.conf
Created August 14, 2014 12:18
Full request/response body logging in nginx
http {
log_format bodylog '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" $request_time '
'<"$request_body" >"$resp_body"';
lua_need_request_body on;
set $resp_body "";
body_filter_by_lua '