Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 28, 2023. It is now read-only.

Docker container for redirecting web-traffic based on nginx

NotificationsYou must be signed in to change notification settings

signavio/docker-nginx-redirect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Repository is under initial development

A very simple container to redirect HTTP traffic to another server, based onnginx

Resources

Configuration

Environment variables

  • SERVER_REDIRECT - server to redirect to, eg.www.example.com
  • SERVER_REDIRECT_PATH - optionally define path to redirect all requests eg./landingpageif not set nginx var$request_uri is used

See alsodocker-compose.yml file.

Usage

Withdocker-compose

docker-compose up -d

Withdocker

docker run -e SERVER_REDIRECT=www.example.com -p 8888:80 schmunk42/nginx-redirectdocker run -e SERVER_REDIRECT=www.example.com -e SERVER_REDIRECT_PATH=/landingpage -p 8888:80 schmunk42/nginx-redirect

Built bydmstr

About

Docker container for redirecting web-traffic based on nginx

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell100.0%

[8]ページ先頭

©2009-2025 Movatter.jp