This repository was archived by the owner on Sep 28, 2023. It is now read-only.
forked fromschmunk42/docker-nginx-redirect
- Notifications
You must be signed in to change notification settings - Fork1
signavio/docker-nginx-redirect
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A very simple container to redirect HTTP traffic to another server, based onnginx
SERVER_REDIRECT- server to redirect to, eg.www.example.comSERVER_REDIRECT_PATH- optionally define path to redirect all requests eg./landingpageif not set nginx var$request_uriis used
See alsodocker-compose.yml file.
Withdocker-compose
docker-compose up -dWithdocker
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-redirectBuilt bydmstr
About
Docker container for redirecting web-traffic based on nginx
Topics
Resources
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Languages
- Shell100.0%