使用nginx可以訪問服務(wù)器視頻 但是轉(zhuǎn)發(fā)到webman后無法訪問服務(wù)器視頻
這里詳細(xì)描述問題
這里粘代碼
nginx配置
server {
listen 80;
server_name small.xychengf.cn;
root /www/wwwroot/chengfang/;
listen 443 ssl;
ssl_certificate /www/wwwroot/chengfang/public/public.pem;
ssl_certificate_key /www/wwwroot/chengfang/public/private.key;
# 其它ssl配置...
location /
{
proxy_pass http://127.0.0.1:8787;
proxy_http_version 1.1;
proxy_set_header X-Real-IP $remote_addr;
}
}
這里粘貼報(bào)錯
這里粘貼截圖
這里寫具體的系統(tǒng)環(huán)境相關(guān)信息
nginx配置有問題吧,參考 http://m.wtbis.cn/doc/webman/others/nginx-proxy.html 這樣配置
這樣mp4走nginx,不用走webman。nginx處理靜態(tài)文件,webman處理php業(yè)務(wù),各司其職