NGINX Find/Replace (Inject) Content

sub_filter '</body>' 'inject stuff here</body>';