Skip to content

117sparta/proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxy

This a simple proxy middleware which is implemented by express and javascript.

Usage

If you want to use this repo, you need to clone this repository.

# ssh
git clone git@github.com:117sparta/proxy.git

# https
git clone https://github.com/117sparta/proxy.git

Then open the directory where you clone this project, open a command line and input:

npm install

After the last step is finished, enter npm start, then the server is activated.

Change the proxyConfig in proxyConfig.js to change the website that you want to visit. It is like this:

{
   host: '', // hostname without the port
   post: 443, // port of the website that you want to visit
   protocol: 'https' // only 'https:' and 'http:' is available
}

About

A simple local proxy server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published