Skip to content

bpmason1/corsair

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

corsair

CORS-ignoring proxy

run the proxy

corsair --listen-ip=127.0.0.1:8000 --proxy-ip=127.0.0.1:8080 --permissive

The --permissive flag indicates that all CORS requests should be accepted for proxying. The flag is required for now because I have not yet implemented logic to configure CORS rules.

build Docker image

docker build -t corsair .

run from Docker Hub

docker run -it --net=host -e LISTEN_ADDR=127.0.0.1:8080 -e PROXY_ADDR=127.0.0.1:4000 bpmason1/corsair