motioneye-project/motioneye

Running behind Apache proxy

開放

#2,077 建立於 2021年3月26日

 (4 則留言) (0 個反應) (0 位負責人)Python (636 個分叉)batch import
help wantedtroubleshooting

倉庫指標

星標
 (3,533 顆星)
PR 合併指標
 (平均合併 16天 14小時) (30 天內合併 33 個 PR)

描述

I'm trying to run motioneye behind an Apache reverse proxy. I've read quite a few issues on here as well as the wiki on nginx and Apache and I have the following configuration:

RewriteRule /doggycam$        /doggycam/               [R,L]
RewriteRule /doggycam/(.*)$   http://192.168.0.61/$1   [P,L]

This works relatively well. The web interface shows up and all the CSS and everything else loads fine as well. The only issue is that the video itself doesn't show. Looking at the dev console's network tab, I can see a request to http://mydomain:8081/?_=1616781429979 while everything else correctly requests from http://mydomain/doggycam/.

Why is the video the only thing that doesn't seem to work correctly and how can I fix it?

貢獻者指南