国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

nginx啟動報(bào)錯:nginx: [emerg] https protocol requires SSL support in /usr/local/nginx/conf/ngi

這篇具有很好參考價(jià)值的文章主要介紹了nginx啟動報(bào)錯:nginx: [emerg] https protocol requires SSL support in /usr/local/nginx/conf/ngi。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

nginx: [emerg] https protocol requires SSL support in /usr/local/nginx/conf/nginx

這個(gè)錯誤是由于配置了https代理但是沒有安裝ssl模塊導(dǎo)致的,只需要按照以下步驟安裝ssl模塊文章來源地址http://www.zghlxwxcb.cn/news/detail-512079.html

  1. 查看nginx配置,順便找到configure文件位置并切換到有這個(gè)文件的目錄下
/usr/local/nginx/sbin/nginx -V
  1. 修改configure,增加ssl模塊
./configure --prefix=/usr/local/nginx --with-http_ssl_module
  1. 編譯并安裝
make && make install
  1. 重啟nginx即可

到了這里,關(guān)于nginx啟動報(bào)錯:nginx: [emerg] https protocol requires SSL support in /usr/local/nginx/conf/ngi的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • git 報(bào)錯 protocol ‘https‘ is not supported解決

    git 報(bào)錯 protocol ‘https‘ is not supported解決

    報(bào)錯原因:選擇不了其他分支代碼,甚至都看不到其他分支,我這邊解決了兩次報(bào)錯,情況如下: 第一種報(bào)錯: idea中刷新分支報(bào)錯如下: Fetch Failed protocol \\\'\\\'https\\\' is not supported 話不多說,直接上 解決方案: ?1:可以直接在idea命令窗中執(zhí)行:git remote set-url origin 你的url 2.然后

    2024年02月06日
    瀏覽(19)
  • Nginx: [emerg] the “ssl“ parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf

    ??出現(xiàn)上面標(biāo)題中的問題是因?yàn)槲耶?dāng)初在安裝Nginx的時(shí)候沒有安裝SSL模塊,但是現(xiàn)在我在Nginx配置文件(nginx.cnf)中配置了SSL的相關(guān)配置信息。當(dāng)我再次啟動Nginx的時(shí)候就提示我 nginx: [emerg] the \\\"ssl\\\" parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf:111 了。下面我將我的解

    2024年02月07日
    瀏覽(23)
  • [emerg] the “ssl“ parameter requires ngx_http_ssl_module in /usr/local/nginx/conf/nginx.conf:35

    這個(gè)錯誤提示表明在Nginx配置文件(通常是nginx.conf)中使用了SSL(Secure Sockets Layer)相關(guān)的配置,但是Nginx沒有加載相應(yīng)的SSL模塊。 1.檢查Nginx是否編譯了SSL模塊: /usr/local/nginx/sbin/nginx -V 21 | grep --color=auto ssl /usr/local/nginx/sbin/nginx:安裝nginx的絕對路徑 輸出以下結(jié)果 則為安裝已

    2024年03月16日
    瀏覽(29)
  • Cloning into ‘XXXX‘... fatal: protocol ‘?https‘ is not supporte 報(bào)錯解決方法

    git bash 中出現(xiàn)信息如下信息: Cloning into \\\'XXXX\\\'... fatal: protocol \\\'?https\\\' is not supporte? 經(jīng)過百度搜索: 可能存在問題一:git clone 使用的時(shí)候不支持https,可能需要換成SSH方式 你可以通過命令git remote set-url origin 你倉庫的SSH地址,去除SSH認(rèn)證。 但是感覺不太實(shí)際。 然后繼續(xù)看下一篇

    2023年04月12日
    瀏覽(30)
  • nginx啟動報(bào)錯nginx: [emerg] unknown directive “stream“ in /usr/local/project/nginx/conf/nginx.conf:159

    nginx啟動報(bào)錯nginx: [emerg] unknown directive “stream“ in /usr/local/project/nginx/conf/nginx.conf:159

    原因是在nginx的配置文件中添加了配置stream塊之后,啟動nginx服務(wù),出現(xiàn)異常信息:nginx: [emerg] unknown directive \\\"stream\\\" in /usr/local/project/nginx/conf/nginx.conf:159 查看nginx的版本信息 從nginx官方網(wǎng)址下載nginx安裝包,本示例下載:nginx-1.24.0.tar.gz 將下載好的壓縮包通過ssh遠(yuǎn)程傳輸?shù)絃inux系

    2024年03月13日
    瀏覽(19)
  • docker 啟動 nginx 。 報(bào)錯nginx: [emerg] open() “/etc/nginx/nginx.conf“ failed (2: No such file or direct

    本人使用docker desktop在windows上部署nginx遇到此問題 掛載了三個(gè)目錄: docker cp nginx:/usr/share/nginx/html D:dockernginxhtml docker cp nginx:/var/log/nginx D:dockernginxlogs docker cp nginx:/etc/nginx D:dockernginxconf ?docker部署nginx命令: 執(zhí)行docker run命令后容器報(bào)錯: nginx: [emerg] open() “/etc/nginx/nginx.

    2024年02月03日
    瀏覽(26)
  • 解決Nginx啟動報(bào)錯“nginx: [emerg] unknown directive “ngx_fastdfs_module“ in /xxx/nginx/conf/nginx.conf:43“

    解決Nginx啟動報(bào)錯“nginx: [emerg] unknown directive “ngx_fastdfs_module“ in /xxx/nginx/conf/nginx.conf:43“

    centos7操作系統(tǒng),nginx被人安裝過多次,重啟服務(wù)器,發(fā)現(xiàn)nignx未設(shè)置開機(jī)自啟,啟動報(bào)錯nginx: [emerg] unknown directive “ngx_fastdfs_module” in /usr/local/nginx/conf/nginx.conf:43 1、嘗試啟動,查看報(bào)錯日志 上述命令如果報(bào)nginx.service找不到: Failed to start nginx.service: Unit not found. ,則進(jìn)入ngi

    2024年02月07日
    瀏覽(65)
  • Nginx啟動報(bào)錯:nginx: [emerg] unknown directive “ #user“ in C:\Ahoova\nginx-1.24.0/conf/nginx.conf:1

    Nginx啟動報(bào)錯:nginx: [emerg] unknown directive “ #user“ in C:\Ahoova\nginx-1.24.0/conf/nginx.conf:1

    在使用記事本編輯保存了 nginx.conf? 配置文件后,啟動nginx就開始報(bào)錯,報(bào)錯內(nèi)容如下: conf文件被記事本編輯過后,被保存成了內(nèi)含BOM頭的文件 注:記事本編輯UTF-8編碼文件都會加BOM頭 (查閱資料所得:類似windows自帶的記事本等軟件,在保存一個(gè)以UTF-8編碼的文件時(shí),會在文

    2024年02月04日
    瀏覽(30)
  • nginx報(bào)錯:./configure: error: SSL modules require the OpenSSL library. You can either

    nginx報(bào)錯:./configure: error: SSL modules require the OpenSSL library. You can either 在nginx中配置監(jiān)聽443端口后重新加載配置文件出現(xiàn)此報(bào)錯, 原因:未安裝 ngx_http_ssl_module 模塊 解決方法:

    2024年02月05日
    瀏覽(26)
  • Node.js Error: Protocol “https:“ not supported. Expected “http:“

    Node的http模塊:使用node創(chuàng)建htto服務(wù)器(重點(diǎn)) 1、web服務(wù)器:網(wǎng)站服務(wù)器,主要提供網(wǎng)上信息的瀏覽服務(wù) 2、web資源 (1)靜態(tài)資源:服務(wù)器沒有修改的,客戶端每次請求的結(jié)果都是一樣的資源。(CSS、image等) (2)動態(tài)資源:經(jīng)過服務(wù)器處理的資源信息 3、HTTP協(xié)議:HyperText T

    2024年02月15日
    瀏覽(32)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包