A simple container to redirect HTTP traffic to another server, based on nginx
SERVER_REDIRECT - server to redirect to, eg. www.example.comSERVER_NAME - optionally define the server name to listen on eg. ~^www.(?<subdomain>.+).example.com
SERVER_REDIRECT_PATH - optionally define path to redirect all requests eg. /landingpage
$request_uri is usedSERVER_REDIRECT_SCHEME - optionally define scheme to redirect to
$scheme is usedSERVER_REDIRECT_CODE - optionally define the http status code to use for redirection
SERVER_REDIRECT_POST_CODE - optionally define the http code to use for POST redirection
SERVER_REDIRECT_CODE is usedSERVER_ACCESS_LOG - optionally define the location where nginx will write its access log
SERVER_ERROR_LOG - optionally define the location where nginx will write its error log
Content type
Image
Digest
Size
7.4 MB
Last updated
about 7 years ago
docker pull uvarc/redirect