Skip to content

manastech/redirect-to-prefix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Redirect to prefix

This is minimal Docker container to redirect all incoming requests to a given prefix. Intented to be used in proxy servers.

Inspired by instedd/redirect-to-https.

How to use

Run the manastech/redirect-to-prefix:0.2 image, setting the TARGET_PREFIX environment variable to the prefix you want to redirect (ie, TARGET_PREFIX=https://example.com/subpath/). The container listens in TCP port 80.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published