GitbookIO / gitbook-cli

GitBook's command line interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can `gitbook serve` disable gzip

hitzhangjie opened this issue · comments

I use nginx to reverse proxy to gitbook, but gitbook serve compressed the response, I need nginx sub_filter module to modify some src=... or href=... elements. Because gitbook gzipped the response, nginx has no input filtering interface, so sub_filter cannot handle it.