Sign inSign up

reon04/cors-anywhere-docker

By reon04

Updated 4 months ago

NodeJS reverse proxy that adds CORS header to request. Dockerized version of the original by Rob--W.

Image
Web servers
0

10K+

reon04/cors-anywhere-docker repository overview

reon04/cors-anywhere-docker

Publish Docker image

A docker image for cors-anywhere.

Releases and Deployment

Get the latest release from Docker Hub.

Envirionment Variables
EnvDefaultDescription
HOST0.0.0.0Server listening ip (in the docker container)
PORT8080Server listening port (in the docker container)
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]

Tag summary

Content type

Image

Digest

sha256:a47631515

Size

38.7 MB

Last updated

4 months ago

docker pull reon04/cors-anywhere-docker