Skip to content

nabeix/basic-auth-proxy-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic-auth-proxy-server

A simple http proxy server with basic auth

Usage

npm install -g basic-auth-proxy-server
basic-auth-proxy-server 3000 http://localhost:8000 your-name:your-password

How does it work ?


+--------+ --- access without authorization ---> +-------------------------+        +---------+
| client |                                       | basic-auth-proxy-server |        | backend |
+--------+ <--------- access denied ------------ +-------------------------+        +---------+

+--------+ ----- access with authorization ----> +-------------------------+ -----> +---------+
| client |                                       | basic-auth-proxy-server |        | backend |
+--------+ <------ response from backend ------- +-------------------------+ <----- +---------+

License

MIT

About

A http proxy server to add basic auth

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors