dropLin ad780f763e first commit 3 days ago
..
Dockerfile ad780f763e first commit 3 days ago
README.md ad780f763e first commit 3 days ago
docker-compose.yml ad780f763e first commit 3 days ago
nginx.conf ad780f763e first commit 3 days ago

README.md

CORS NGINX Docker Proxy

What is this?

This is a simple NGINX docker server to remove CORS headers from HTTP requests to a GoPro camera. This proxy accepts input on port 8082 and forwards it to http:10.5.5.9:8080

How do I use it?

It is intended to be run using the docker-compose.yml here via:

docker compose up

Once running, an HTTP-connected-GoPro can be communicated with by replacing the default 10.5.5.9:8080 with localhost:8082. For example you can get the state via:

curl http://localhost:8082/gopro/camera/state

Future work

  • Allow the camera IP and port to be set at run-time
  • Add camera HTTPS support