Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 858 Bytes

readme.md

File metadata and controls

22 lines (14 loc) · 858 Bytes

Internal redirect

It's a simple node js service that accepts redirect query param, prints some message and redirects to passed url on clicking the link.

изображение

Configuration

This page could be parametrized using these environment variables:

  • TITLE - h1 and page title string
  • MESSAGE - message under title
  • PARAM - name of query parameter from which redirect url should be extracted. Default is redirect
  • ALLOWED_URL_PATTERNS - comma separated list of allowed url to redirect regex patterns. By default everything is allowed (.*)

Usage

docker pull ghcr.io/kazanexpress/internal-redirect:latest

docker run -p 3000:3000 ghcr.io/kazanexpress/internal-redirect:latest