首页  >  问答  >  正文

nginx编译安装

第一次编译安装nginx,编译的参数是: 问题是现在启动nginx,为什么多了一个" /",空格和斜杠。

./configure --prefix=/usr/local/nginx/ --user=www --group=www  --with-http_ssl_module --with
-select_module  --with-poll_module  --without-mail_pop3_module  --without-mail_imap_module  --without-mail_smtp_module

習慣沉默習慣沉默2713 天前552

全部回复(1)我来回复

  • 高洛峰

    高洛峰2017-05-16 17:19:09

    重新编译nginx。

    ./configure --prefix=/usr/local/nginx  --user=www --group=www  --with-http_ssl_module --with
    -select_module  --with-poll_module  --without-mail_pop3_module  --without-mail_imap_module  --without-mail_smtp_module
    
    

    你再试试,我把prefix的nginx后的斜线去掉了

    回复
    0
  • 取消回复