Skip to content

Simple ready to work proxy server base on nodejs http-proxy

License

Notifications You must be signed in to change notification settings

richardzcode/simple-proxy-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-proxy-server

Simple ready to work proxy server base on nodejs http-proxy

git clone https://github.com/richardzcode/simple-proxy-server.git
cd simple-proxy-server
npm install

Help

node app.js --help

Start Server

node app.js --target $target_endpoint$

Add Headers

node app.js --target $target_endpoint$ --header Content-Type application/json

Add Response Headers

node app.js --target $target_endpoint$ \
            --response_header Access-Control-Allow-Origin '*' \
            -H Access-Control-Allow-Methods 'GET, POST, PUT, DELETE, OPTIONS'

About

Simple ready to work proxy server base on nodejs http-proxy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published