Add modules to nginx


#1

Hello

I just switched from Apache to Nginx web server and want to add 2 add-ons:

  • upload
  • upload_progress

Is there anybody who knows how to do this?
I created admin account.

Thank you in advance for any help.


#2

You’ll have to recompile nginx yourself to do that. It doesn’t support dynamically loaded extensions like Apache does.

Let me know if you need the configure options we used.


#3

Yes, I know that I should compile by myself. I didn’t sure that I have permission to do that.

About configure options - yes, could you please give me these.

Thank you in advance.


#4

OK! The configure options we use for nginx-be (the version that’s generally run on a VPS) are currently:

--prefix=/dh/nginx
--with-ipv6
--with-pcre
--with-md5-asm
--with-sha1-asm

--with-http_ssl_module
--with-http_realip_module
--with-http_addition_module
--with-http_xslt_module
--with-http_image_filter_module
--with-http_sub_module
--with-http_dav_module
--with-http_flv_module
--with-http_gzip_static_module
--with-http_random_index_module
--with-http_secure_link_module
--with-http_stub_status_module
--add-module=passenger-3.0.0/ext/nginx

Note that you’ll have to download the Passenger module separately from http://www.modrails.com/install.html. (You may be able to leave it out if you aren’t using Passenger on any of your sites.)


#5

i can’t see the http_mp4_module
how can i enable http_mp4_module?
do i need to recompile nginx?