Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

Your Answer


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.