宅男在线永久免费观看网直播,亚洲欧洲日产国码无码久久99,野花社区在线观看视频,亚洲人交乣女bbw,一本一本久久a久久精品综合不卡

全部
常見問題
產(chǎn)品動(dòng)態(tài)
精選推薦

CRMEB 開源版/標(biāo)準(zhǔn)版商城nginx反向代理配置

管理 管理 編輯 刪除

設(shè)置PHP命令版本

1.修改寶塔命令行的PHP版本,將命令行的PHP版本和站點(diǎn)的PHP版本保持一致

設(shè)置端口

2.系統(tǒng)的默認(rèn)長(zhǎng)鏈接的端口是50001,50002,50003這三個(gè)端口,如果需要修改端口或者多站點(diǎn)部署,請(qǐng)?jiān)谠赾onfig/workerman.php中修改對(duì)應(yīng)的端口

配置反向代理,nginx和apache根據(jù)服務(wù)器只需要配置一個(gè)

配置nginx代理

(Nginx)3.點(diǎn)擊左側(cè)網(wǎng)站目錄,點(diǎn)擊域名進(jìn)入站點(diǎn)配置,修改配置文件,在最后一個(gè)大括號(hào)上面增加以下代碼,如果修改了端口,請(qǐng)對(duì)應(yīng)修改代碼,添加完成后保存

location /notice {
    proxy_pass http://127.0.0.1:50001/;  
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header X-real-ip $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr;
}
location /msg {
    proxy_pass http://127.0.0.1:50002/;  
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header X-real-ip $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr;
}

配置apache代理

Apache)3.點(diǎn)擊左側(cè)網(wǎng)站目錄,點(diǎn)擊域名進(jìn)入站點(diǎn)配置,修改配置文件,搜索CustomLog,在下面增加以下代碼,如果修改了端口,請(qǐng)對(duì)應(yīng)修改代碼,80和443端口下都咬增加,添加完成后保存

ProxyPass /notice ws://127.0.0.1:50001/
ProxyPass /msg ws://127.0.0.1:50002/
ProxyPassReverse /notice ws://127.0.0.1:50001/
ProxyPassReverse /msg ws://127.0.0.1:50002/


運(yùn)行命令

4.點(diǎn)擊目錄,進(jìn)入站點(diǎn)的根目錄

5.根目錄內(nèi)點(diǎn)擊終端,在打開的命令行中執(zhí)行命令,顯示如下界面則配置成功

sudo -u www php think workerman start --d


請(qǐng)登錄后查看

CRMEB-慕白寒窗雪 最后編輯于2023-07-11 10:02:27

快捷回復(fù)
回復(fù)
回復(fù)
回復(fù)({{post_count}}) {{!is_user ? '我的回復(fù)' :'全部回復(fù)'}}
排序 默認(rèn)正序 回復(fù)倒序 點(diǎn)贊倒序

{{item.user_info.nickname ? item.user_info.nickname : item.user_name}} LV.{{ item.user_info.bbs_level }}

作者 管理員 企業(yè)

{{item.floor}}# 同步到gitee 已同步到gitee {{item.is_suggest == 1? '取消推薦': '推薦'}}
{{item.is_suggest == 1? '取消推薦': '推薦'}}
沙發(fā) 板凳 地板 {{item.floor}}#
{{item.user_info.title || '暫無簡(jiǎn)介'}}
附件

{{itemf.name}}

{{item.created_at}}  {{item.ip_address}}
打賞
已打賞¥{{item.reward_price}}
{{item.like_count}}
{{item.showReply ? '取消回復(fù)' : '回復(fù)'}}
刪除
回復(fù)
回復(fù)

{{itemc.user_info.nickname}}

{{itemc.user_name}}

回復(fù) {{itemc.comment_user_info.nickname}}

附件

{{itemf.name}}

{{itemc.created_at}}
打賞
已打賞¥{{itemc.reward_price}}
{{itemc.like_count}}
{{itemc.showReply ? '取消回復(fù)' : '回復(fù)'}}
刪除
回復(fù)
回復(fù)
查看更多
打賞
已打賞¥{{reward_price}}
4912
{{like_count}}
{{collect_count}}
添加回復(fù) ({{post_count}})

相關(guān)推薦

快速安全登錄

使用微信掃碼登錄
{{item.label}} 加精
{{item.label}} {{item.label}} 板塊推薦 常見問題 產(chǎn)品動(dòng)態(tài) 精選推薦 首頁頭條 首頁動(dòng)態(tài) 首頁推薦
取 消 確 定
回復(fù)
回復(fù)
問題:
問題自動(dòng)獲取的帖子內(nèi)容,不準(zhǔn)確時(shí)需要手動(dòng)修改. [獲取答案]
答案:
提交
bug 需求 取 消 確 定
打賞金額
當(dāng)前余額:¥{{rewardUserInfo.reward_price}}
{{item.price}}元
請(qǐng)輸入 0.1-{{reward_max_price}} 范圍內(nèi)的數(shù)值
打賞成功
¥{{price}}
完成 確認(rèn)打賞

微信登錄/注冊(cè)

切換手機(jī)號(hào)登錄

{{ bind_phone ? '綁定手機(jī)' : '手機(jī)登錄'}}

{{codeText}}
切換微信登錄/注冊(cè)
暫不綁定
CRMEB客服

CRMEB咨詢熱線 咨詢熱線

400-8888-794

微信掃碼咨詢

CRMEB開源商城下載 源碼下載 CRMEB幫助文檔 幫助文檔
返回頂部 返回頂部
CRMEB客服