使用nginx可以訪問服務器視頻 但是轉發(fā)到webman后無法訪問服務器視頻
這里詳細描述問題
這里粘代碼
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;
}
}
這里粘貼報錯
這里粘貼截圖
這里寫具體的系統環(huán)境相關信息
nginx配置有問題吧,參考 http://wtbis.cn/doc/webman/others/nginx-proxy.html 這樣配置
這樣mp4走nginx,不用走webman。nginx處理靜態(tài)文件,webman處理php業(yè)務,各司其職