Simple HTTP redirection service
|
vor 11 Monaten | |
---|---|---|
.deploy | vor 1 Jahr | |
.github | vor 1 Jahr | |
internal | vor 11 Monaten | |
.gitignore | vor 11 Monaten | |
Dockerfile | vor 1 Jahr | |
LICENSE.md | vor 1 Jahr | |
README.md | vor 1 Jahr | |
go.mod | vor 11 Monaten | |
go.sum | vor 11 Monaten | |
main.go | vor 11 Monaten |
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