This is an nginx module to strip the served HTML of all newlines (\n and \r characters)
C
Switch branches/tags
Nothing to show
Pull request Compare This branch is 3 commits ahead, 11 commits behind vedang:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
config
ngx_http_no_newlines_module.c

README

This NginX module strips the page of all newlines ('\n', '\r' and all combinations thereof) before serving it.

Evan Miller has written an excellent guide on how to write nginx modules. It can be found here: http://www.evanmiller.org/nginx-modules-guide.html