# Nginx RPM installation, how to add a module?

**URL:** <https://www.ruby-forum.com/t/nginx-rpm-installation-how-to-add-a-module/186321>\
**Category:** NGINX\
**Created:** [April 4, 2010, 9:48pm UTC](https://www.ruby-forum.com/t/nginx-rpm-installation-how-to-add-a-module/186321 "2010-04-04T21:48:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zilllo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/e47c2d/32.png) [@Zilllo](https://www.ruby-forum.com/u/Zilllo)\
**Post date:** [April 4, 2010, 9:48pm UTC](https://www.ruby-forum.com/t/nginx-rpm-installation-how-to-add-a-module/186321/1 "2010-04-04T21:48:02Z")

</div>

Hello,

Is there any way to add an nginx module (I am interested on Rewrite  
Module) on a installation made with an RPM that do not include such a  
module?

Thank you!

Posted at Nginx Forum:

> **[Nginx RPM installation, how to add a module?](https://forum.nginx.org/read.php?2,71197,71197#msg-71197)**
>
> Hello, Is there any way to add an nginx module (I am interested on Rewrite Module) on a installation made with an RPM that do not include such a module? Thank you!

---

<div class="post-metadata">

**Author:** ![Zilllo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/e47c2d/32.png) [@Zilllo](https://www.ruby-forum.com/u/Zilllo)\
**Post date:** [April 4, 2010, 9:53pm UTC](https://www.ruby-forum.com/t/nginx-rpm-installation-how-to-add-a-module/186321/2 "2010-04-04T21:53:53Z")

</div>

Hello,

no.  
You need to download SRPM and recompile nginx with this module.

2010/4/4 Zilllo [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![Zilllo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/e47c2d/32.png) [@Zilllo](https://www.ruby-forum.com/u/Zilllo)\
**Post date:** [April 4, 2010, 10:21pm UTC](https://www.ruby-forum.com/t/nginx-rpm-installation-how-to-add-a-module/186321/3 "2010-04-04T22:21:23Z")

</div>

Ok, thank you. By the way, I never used SRPM, if someone in the future  
has the same question, here seems to be an easy tutorial on how to add a  
nginx module by using SRPM:

> <https://stackoverflow.com/questions/2568784/can-this-package-be-recompiled>

Posted at Nginx Forum:

> **[Re: Nginx RPM installation, how to add a module?](https://forum.nginx.org/read.php?2,71197,71203#msg-71203)**
>
> Hello, Is there any way to add an nginx module (I am interested on Rewrite Module) on a installation made with an RPM that do not include such a module? Thank you!
