Skip to content

jeffre/docker-302

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

docker-302

This image accepts http/https connections and responds with an http code 302 redirect. It uses traefik so that https connections are legitimately signed.

Build and deploy

git clone github.com/jeffre/docker-302
cd docker-302
cat <<< EOF > .env
    EMAIL='[email protected]'
    REGEX='^https?://[^/]*/?(.*)'
    REPLACEMENT='https://example.com/$1'
EOF
docker compose up -d

About

http code 302 redirect everything

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages