Secure HTTP Proxy (SHP)
Simple golang Secure HTTP Proxy implementation, support HTTP2 by default.
To avoid proxy detection, it will act as reverse proxy unless providing correct authentication header. To allow Chrome extension to work well, it will request for authentication only if the client is requesting for a special URL.
If you don't need oAuth and are looking for server alternative, Caddy will be a better choice. Caddy has the same behavior when you config probe_resistance
, checkout its doc here.
Install
Server
- You should have a domain and a server.
- Get a certificate from Let’s Encrypt, for example:
$ sudo apt install letsencrypt
$ sudo letsencrypt certonly -d YOUR_DOMAIN -m YOUR_EMAIL --agree-tos --standalone -n
- Download
install.sh
- Make some changes, say the version you want to install, your domain name, your
user
s and password
s. If you are not using OAuth backend, remove that section, or please add the OAuth config (This project assumes you are using Google OAuth, but it should works with other platform).
$ chmod +x install.sh && ./install.sh
Client
Basic usage
If you are using OAuth backend, it will render the client usage details for you after login.
Chrome
The Chrome extension is public available now, you can install from Chrome Store.
The source code is in the chrome-extension
directory, if you want to install from source code:
- Follow the instruction in README.md
- Open
Menu
/ More Tools
/ Extensions
- Enable
Developer mode
on the top right and Load unpacked
from chrome-extension/dist
.