Sign inSign up

testcab/cors-anywhere

By testcab

Updated almost 5 years ago

The docker image for [cors-anywhere](https://github.com/Rob--W/cors-anywhere)

Image
5

500K+

testcab/cors-anywhere repository overview

testcab/cors-anywhere

docker build automated

The docker image for cors-anywhere.

Run
docker run --rm testcab/cors-anywhere
Envirionment Variables
EnvDefaultDescription
PORT8080Server listening port
KEYContent or filename of TLS Key
CERTContent or filename of TLS Certificate
CORSANYWHERE_BLACKLISTIf set, requests whose origin is listed are blocked.
Comma separated. Example: https://abuse.example.com,http://abuse.example.com
CORSANYWHERE_WHITELISTIf set, requests whose origin is not listed are blocked.
If this list is empty, all origins are allowed.
Comma separated. Example: https://good.example.com,http://good.example.com
CORSANYWHERE_RATELIMITFormat: <max requests per period> <period in minutes> <non-ratelimited hosts>
For example, to blacklist abuse.example.com and rate-limit everything to 50 requests per 3 minutes, except for my.example.com and my2.example.com (which may be unlimited), use:
50 3 my.example.com my2.example.com

LICENSE

This repository is licensed under MIT.

cors-anywhere is Copyright (C) 2013 - 2016 Rob Wu [email protected]

Tag summary

Content type

Image

Digest

Size

39.9 MB

Last updated

almost 5 years ago

docker pull testcab/cors-anywhere