Welcome! Log In Create A New Profile

Advanced

Webcam exposure

Posted by teros 
Webcam exposure
August 06, 2016 09:39PM
Hey guys,

I am attempting to expose a webcam (edimax) via nginx. setup is as below

location /cam/ {
proxy_pass http://192.168.1.112/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

But for some reason it doesn't work. I get error 400 when using /cam/ but when i point it to root i.e. location / it work. Basically the camera has the url http://192.168.1.112/live as the URL. Any ideas on how to fix i am betting it's because the camera (edimax and soon to be a foscam as well) don't have /cam as the exposed URL.

Any ideas to fix more than welcome the wife is using this to monitor our dogs whilst we are at work...
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 147
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready