1

I have nginx 1.4.4 as reverse proxy and apache as backend. My question is - how to add modules to nginx?

I need this module http://wiki.nginx.org/HttpUploadProgressModule

checked nginx -V i don't have this module

I read that i need to recompile nginx with a new module. How to do that? How to save old nginx config files so i won't mess up my webserver?

Alexander Kim
  • 597
  • 3
  • 8
  • 21
  • 2
    It's really not a great idea to do this, especially if you're someone who doesn't already know how to do it. Compiling your own stuff comes with significant potential maintenance and security downfalls. If you need upload progress, consider something like Plupload to do it client-side. – ceejayoz Jan 23 '14 at 20:04
  • Already did it and it wasn't so hard, but now i learned how to compile from source or recompile RPM. – Alexander Kim Jan 27 '14 at 09:13
  • 2
    It's not so hard to compile. What's often hard is keeping up on patches and ensuring the custom process is well documented. – ceejayoz Jan 27 '14 at 15:24

1 Answers1

1

I agree with ceejayoz in his comment above that you're taking a big step if you move off RPM and start compiling on your own. Migrating might be a really big pain in the butt. Once you do it, though, you have much more freedom in the future. If you think you might use other modules in the future, then it might be the right step.

See this question for help migrating off RPM builds on Centos 6: https://stackoverflow.com/questions/2568784/can-this-package-be-recompiled

degenerate
  • 194
  • 1
  • 1
  • 9