Nginx Http Subs Module for CentOS - Packaging Howto
The case I recently involved in a reverse proxy project using nginx as reverse proxy server. Turns out that nginx has a built in HttpSubModule that allow us to replace urls in http stream, which is a very important requirements for us. But the problem is that the HttpSubModule only allow one replacement per location. After a few searches, found that an additional HttpSubsModule (notice the additional s) will do the task, allowing multiple replacement per location.The nginx wiki is kind enough to provide installation instructions for HttpSubsModule , but provides no rpm package. DISCLAIMER: This blog post shows step by step tutorial to produce a RPM package file. If you only interested in installing nginx with HttpSubsModule, please jump to the last heading 'Installation'. But if you're not on Centos 6 x86_64, maybe you really should follow all the steps anyway. Repository Hunt I prefer repository packages other than compiling manually. We found that EPEL re...