ubuntu 8.04 user - upgrade to nginx latest

Cecep Mahbub cecep at ngadimin.org
Mon Oct 5 18:59:12 MSD 2009


On Mon, Oct 5, 2009 at 8:46 PM, Jeff Waugh <jdub at bethesignal.org> wrote:
> <quote who="synchromesh">
>
>> My question is, how can I find out which modules have been compiled into
>> nginx? (Specifically your 0.8.17 version.) I couldn't find any way to do
>> this in the docs or via Google.
>
> Unless there's a way to dump that information from the nginx binary itself
> (which I haven't found), you can just look at the debian/rules file in the
> source package.
>
> You can click to download it from the PPA page or 'apt-get source nginx'
> once you've added deb-src lines for my PPA to your sources.list (and I am
> assuming this explanation will be understood by those using Debian-based
> distros).

I think nginx -V should help.

===

nginx -h

nginx version: nginx/0.7.62
Usage: nginx [-?hvVt] [-s signal] [-c filename] [-p prefix] [-g directives]

Options:
  -?,-h         : this help
  -v            : show version and exit
  -V            : show version and configure options then exit
  -t            : test configuration and exit
  -s signal     : send signal to a master process: stop, quit, reopen, reload
  -p prefix     : set prefix path (default: /opt/nginx/)
  -c filename   : set configuration file (default: conf/nginx.conf)
  -g directives : set global directives out of configuration file


Cecep





More information about the nginx mailing list