文章詳情頁(yè)
nginx編譯安裝
瀏覽:177日期:2024-06-21 17:16:44
問(wèn)題描述
第一次編譯安裝nginx,編譯的參數(shù)是: 問(wèn)題是現(xiàn)在啟動(dòng)nginx,為什么多了一個(gè)' /',空格和斜杠。
./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

問(wèn)題解答
回答1:重新編譯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后的斜線去掉了
相關(guān)文章:
1. 關(guān)docker hub上有些鏡像的tag被標(biāo)記““This image has vulnerabilities””2. boot2docker無(wú)法啟動(dòng)3. docker-compose中volumes的問(wèn)題4. nignx - docker內(nèi)nginx 80端口被占用5. java - SSH框架中寫分頁(yè)時(shí)service層中不能注入分頁(yè)類6. docker安裝后出現(xiàn)Cannot connect to the Docker daemon.7. dockerfile - 為什么docker容器啟動(dòng)不了?8. docker容器呢SSH為什么連不通呢?9. 關(guān)于docker下的nginx壓力測(cè)試10. docker images顯示的鏡像過(guò)多,狗眼被亮瞎了,怎么辦?
排行榜

熱門標(biāo)簽
網(wǎng)公網(wǎng)安備