Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
You could just compress all output with gzip_module. –  sendmoreinfo Feb 2 '12 at 20:39
add comment

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.

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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