module
Version:
v0.0.0-...-b0c6047
Opens a new window with list of versions in this module.
Published: Oct 24, 2020
License: MIT
Opens a new window with license information.
README
¶
Kansuler/http-redirect

A small container package that are configurable through environment variables to redirect to another domain.
Docker hub image: kansuler/http-redirect
API and detailed documentation can be found at https://godoc.org/github.com/Kansuler/http-redirect
| environment variable |
description |
| target_host |
the target domain that the visitor will be redirected to. Format should be https://example.com |
| append_uri |
if true the URI path will append to the Location header. resulting in a redirect with URI like https://example.com/path |
| log_format |
Set default settings for different cloud providers. Available formats are stackdriver |
| http_status |
set either 307 temporary redirect or 308 permanent redirect. Default is 307 |
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Directories
¶
|
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.