Sign inSign up

0xff/redirect

By 0xff

•Updated almost 7 years ago

Image
0

933

0xff/redirect repository overview

⁠Simple 301/302 HTTP redirect

A small server (written in go) which only does redirects and runs in an read-only environment.

⁠Usage:
version: "2.2"
services:
  redirect:
    image: 0xff/redirect
    read_only: true
    ports:
      - "9000:9000"
    restart: always
    cap_drop:
      - ALL
    environment:
      TARGET: "https://my-new-site.com/"
      CODE: "301"

Tag summary

Content type

Image

Digest

Size

6.4 MB

Last updated

almost 7 years ago

docker pull 0xff/redirect