https://github.com/mpolinowski/docker_ws_video_proxy
NGINX proxy for the websocket videostream of your IP camera
https://github.com/mpolinowski/docker_ws_video_proxy
nginx-proxy secure-websockets video-streaming websocket
Last synced: about 2 months ago
JSON representation
NGINX proxy for the websocket videostream of your IP camera
- Host: GitHub
- URL: https://github.com/mpolinowski/docker_ws_video_proxy
- Owner: mpolinowski
- Created: 2022-12-08T10:08:53.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T11:22:42.000Z (over 2 years ago)
- Last Synced: 2025-01-28T19:17:58.284Z (4 months ago)
- Topics: nginx-proxy, secure-websockets, video-streaming, websocket
- Homepage: https://wiki.instar.com/en/Frequently_Asked_Question/Websocket_Stream_Proxy/
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker WS Videostream Proxy
* [Companion repository for the HTML Client](https://github.com/mpolinowski/html_ws_client)
This NGINX proxy brokers a websocket connection between a web client and your local camera. Select the server configuration file you want to use (plain or TLS) in `nginx.conf` and add your cameras and your servers IP or domain to the selected configuration file inside `conf.d`.
__Note__: The repository contains a self signed TLS certificate. This can be used for testing - e.g. with a tool like `wscat`. But your browser is going to reject it. You will have to provide a valid CA signed certificate (e.g. Let's Encrypt) to use the secure websocket variant:
```bash
WebSocket ERROR: {
"isTrusted": false
}
```_Run in foreground_
```bash
docker run --rm --network host -v /path/to/docker_ws_video_proxy:/etc/nginx --name proxy nginx:alpine
```_Run in background_
```bash
docker run --rm --network host -v /path/to/docker_ws_video_proxy:/etc/nginx --name proxy nginx:alpine
```__Related__:
* [NGINX Websocket Proxy](https://mpolinowski.github.io/docs/DevOps/NGINX/2022-12-08-nginx-websocket-proxy/2022-12-08)
* [Github Repository](https://github.com/mpolinowski/ws-api-proxy)