Reconfigure nginx

Igor Sysoev igor at sysoev.ru
Thu Mar 31 10:23:42 MSD 2011


On Thu, Mar 31, 2011 at 02:16:55AM -0400, rok wrote:
> anomalizer Wrote:
> -------------------------------------------------------
> > On Mar 31, rok wrote:
> > >[code]
> > >sudo ./configure --sbin-path=/usr/local/sbin
> > >[/code]
> > >
> > >So if i reconfigure,should backup config
> > before?and what configure i do
> > >now?
> > 
> > First off, there is no need to run ./configure as
> > sudo. It is a part of
> > the install process (usually ./configure, make,
> > sudo make install).
> > Secondly, ./configure has nothing to do with
> > config files, it is just a
> > step in the gnu toolchain build process.
> > 
> > "make install" does not overwrite existing
> > configs. However, it is
> > always prudent to make a backup of your nginx.conf
> > 
> And what about reconfigure nginx with same configure before and add send
> mail command.?I must delete old folder nginx-0.8.54 or reconfigure with
> old folder?
> Add mail:
> --with-mail_pop3_module  --with-mail_imap_module --with-mail_smtp_module
> 
> ?

You should go to the nginx-0.8.54 directory and run
  make clean
  ./configure ...


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list