A simple reverse proxy solution built on the Golang httputil module
- Download the latest build from the releases section on the GitHub page
- Unzip the files
- Update the config specified below
- Run the relevant file for your OS
When using the simple reverse proxy, the following options can be set in the config.ini
file. A default config has been included to provide extra clarity
Config Option | Description | Type | Required |
---|---|---|---|
port |
The port that the proxy server is run on | String | Y |
noProxyPagePath |
The html file to display if no proxy has been specified for the requested domain | String | N |
[PROXY_NAME] |
A section of the ini config file that represents a given proxy | String | Y |
domain |
The domain to detect to trigger the proxy | String | Y |
proxy |
The host to proxy to | String | Y |
errorPagePath |
If a 500 error occurs on a specific server being proxied to, this page will be shown if it is present | String | N |
- Run
go run main.go
to run the reverse proxy in development mode
Building is automated using GitHub Actions
This software is released under the GNU AGPLv3 licence