Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just installed nginx through apt-get repository. But, unfortunately HttpAuthDigestModule is not included while installing. This is how to install from source - ./configure --add-module=../samizdatco-nginx-http-auth-digest-xxxxxxx

How do I configure nginx that was installed?

share|improve this question
add comment

1 Answer

TL;DR: You cannot add a module to the already-installed NGINX. Read on for why, and possible solutions.

The nginx package that is already installed on your system, whether from the main repositories or not, is already compiled with the modules set forth in the system. This goes for any of the nginx PPAs (from the nginx team), too. Since the binaries are already compiled with a set of modules, you can't "add" any modules to that without a bit more work.

To add the http-auth-digest module, you'll either have to find someone who can create a customized package for you in a PPA that you can use to update the software and make it work; create a customized Debian package for you with that module in it; or build, compile, and configure from source yourself.

share|improve this answer
add comment

Your Answer

 
discard

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.