/nginx-cors-anywhere

Cors-anywhere using only nginx with docker

Primary LanguageDockerfileMIT LicenseMIT

Nginx cors-anywhere

A docker container running a nginx proxy to solve CORS problems on browser. You can open any site.

For example, for ytdl-core-browser

How to run

  1. Build docker container
docker build -t cors .
  1. Run docker container
docker run -d --name cors -p 8000:80 cors

How to use

Open url like

http://localhost:8000/ some-site

Example

http://localhost:8000/ https://github.com/mrgick/nginx-cors-anywhere/