Skip to content

dsplce-co/reverse_proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reverse Proxy with TLS

Simply wraps an existing HTTP service to make it HTTPS. By default, assumes your service is on port 8080 and serves it at port 4343.

Generating certificates

$ cd tls
$ ./build-cert.sh

Then (on MacOS) drag tls/ecdsa/ca.cert into your login keychain and set it to trusted.

Operation

Return to this directory and cargo run to start proxying.

Start your HTTP service on port 8080 and see if it appears at: https://localhost:4343/

How to bind the real SSL port

$ sudo setcap CAP_NET_BIND_SERVICE=+eip <binary>
$ PORT=443 <binary>

About

TLS wrapper based on warp-reverse-proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 74.9%
  • Shell 19.3%
  • Dockerfile 5.8%