Welcome! Log In Create A New Profile

Advanced

Proxying to ip-camera

April 07, 2016 10:04AM
Hi,

I have the web site and would like to proxying all requests to /ipcam location to internal ip-camera.

website http://site.com
ip-cam http://site.com/ipcam

Below config:

location /ipcam {
proxy_pass http://192.168.20.99:80/;
proxy_redirect off;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Real-IP $remote_addr;
}

All works fine, but ip-cam can not determine UA and therefore I gets broken login page and unable to login.

Below the error log from console:

ReferenceError: Browser is not defined
if(!(Browser.ie7 || Browser.ie8)){

With port redirection by firewall all works fine.

Is anybody can help me. IP-camera - Dahua.

--
Vitaliy





_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Proxying to ip-camera

artem April 07, 2016 10:04AM

Re: Proxying to ip-camera

artem April 07, 2016 11:46AM

Re: Proxying to ip-camera

Francis Daly April 07, 2016 04:46PM

Re[2]: Proxying to ip-camera

artem April 08, 2016 01:48AM

Re: Proxying to ip-camera

Francis Daly April 08, 2016 03:14AM

Re[2]: Proxying to ip-camera

artem April 08, 2016 03:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 309
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