Sign inSign up

7a6163/cors-anywhere

By 7a6163

•Updated over 3 years ago

Fork form testcab/cors-anywhere

Image
0

10K+

7a6163/cors-anywhere repository overview

⁠7a6163/cors-anywhere

Docker Image Size (latest by date)

The docker image for cors-anywhere⁠. Fork from testcab/docker-cors-anywhere⁠.

⁠Run
docker run --rm 7a6163/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 - 2021 Rob Wu [email protected]

⁠DONATE

If you want to support the project, you can buy the developer a coffee.

"Buy Me A Coffee"

Tag summary

Content type

Image

Digest

sha256:40e7cbea9…

Size

50.3 MB

Last updated

over 3 years ago

docker pull 7a6163/cors-anywhere