Simple HTTP redirection service
|
|
před 1 rokem | |
|---|---|---|
| .deploy | před 1 rokem | |
| .github | před 1 rokem | |
| .gitignore | před 1 rokem | |
| Dockerfile | před 1 rokem | |
| LICENSE.md | před 1 rokem | |
| README.md | před 1 rokem | |
| go.mod | před 1 rokem | |
| go.sum | před 1 rokem | |
| main.go | před 1 rokem |
A simple, static redirection service that redirects recognised paths to any other URL.
Set environment variables:
HOST and PORT configure the HTTP listen serverCSV contains redirection data in CSV formatEnvironment variables can be set in the environment or a .env file.
:warning: CSV data is not loaded from a file!
The CSV data must have two columns for the path and redirection URL, respectively. The first row is reserved for headings. Follow this example to get started:
path,url
/some/path,https://some-url.com
See LICENSE.md