I got production server with nginx and php , I googled for a way to remove lines in html output and minify it ... ended with 2 modules I cannot implement even on my testing fedora server ( I am installing via yum) so I am searching for a way to add this feature without recompiling/breaking nginx ... what already built in in nginx (like perl) can do that? thanks and excuse my english

link|improve this question
You could just compress all output with gzip_module. – sendmoreinfo Feb 2 at 20:39
feedback

1 Answer

Check the output of nginx -V. If it does not include the substitution module or the perl module as --with-http_perl_module and --with-http_sub_module then there's nothing you can do with recompiling nginx as nginx has no support for dynamically link modules at runtime.

link|improve this answer
i got mentioned modules , and thanks for responding – arpecop Sep 16 '11 at 15:37
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.