https://github.com/zetavg/railsredirector
https://github.com/zetavg/railsredirector
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zetavg/railsredirector
- Owner: zetavg
- Created: 2015-08-19T22:16:04.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-19T22:16:18.000Z (almost 10 years ago)
- Last Synced: 2025-04-01T22:59:57.537Z (3 months ago)
- Language: Ruby
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RailsRedirector
A simple Rails app that redirects user to different sites based on the request path.
## Usage
This app can be configured via environment variables.
It takes each `REDIRECT_REGEXP_n` environment variable (`n` can be 1 up to 100) as regexp to match the request full path, and redirects them to `REDIRECT_URL_n`.
### New Relic Monitoring
Environment variables: `NEW_RELIC_LICENSE_KEY` and `NEWRELIC_APP_NAME` can be set to use New Relic Monitoring.