[FFmpeg-user] Proxying ffserver behind nginx?

Alec Taylor alec.taylor6 at gmail.com
Tue Dec 12 16:58:02 EET 2017


What's the trick to proxying ffserver behind nginx?

My attempt:

        location /stream0 {
            proxy_pass http://localhost:8086;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
        }

Currently I'm just serving some webm feeds from different cameras. This is
the ffserver conf I am using: https://www.acmesystems.it/ffmpeg

PS: I've compiled nginx-rtmp-module in, but I think that ffserver would be
more reliable + feature rich, so would prefer that.

Thanks for all suggestions


More information about the ffmpeg-user mailing list