Http_base nginx helper: remove trailing whitespace