Skip to content

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages