https://github.com/hyperoslo/reverse-proxy
Simple reverse proxy application.
https://github.com/hyperoslo/reverse-proxy
Last synced: about 1 month ago
JSON representation
Simple reverse proxy application.
- Host: GitHub
- URL: https://github.com/hyperoslo/reverse-proxy
- Owner: hyperoslo
- Created: 2015-06-03T14:18:43.000Z (about 11 years ago)
- Default Branch: develop
- Last Pushed: 2015-06-03T14:36:59.000Z (about 11 years ago)
- Last Synced: 2025-10-24T11:38:37.420Z (10 months ago)
- Language: Ruby
- Homepage:
- Size: 129 KB
- Stars: 3
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# reverse-proxy
Simple reverse proxy setup using [rack-reverse-proxy].
[rack-reverse-proxy]: https://github.com/jaswope/rack-reverse-proxy
## Description
This is a simple web application set up using the [rack-reverse-proxy] gem. The
app allows for proxying to multiple hosts by specifying them each through the
environment.
## Usage
Run the application using `rackup`:
```
$ rackup config.ru
```
If you want to disable the Rack linter, you want to run it in deployment mode.
You most likely want to do this if either you want to set up a proxy towards a
Rails application, since Rails gives back a response that the linter complains
about. To do this, set the `-E` option:
```
$ rackup -E deployment config.ru
```
This starts a web server on port 9292.
## Installation
Install the dependency and you should be good to go:
```
$ bundle install
```
## Contributing
Please check our [playbook] for guidelines on contributing.
[playbook]: https://github.com/hyperoslo/playbook/blob/master/GIT_AND_GITHUB.md
## Credits
[Hyper] made this. We're a digital communications agency with a passion for good
code, and if you're using this library we probably want to [hire you].
[hyper]: http://hyper.no
[hire you]: http://www.hyper.no/jobs
## License
This project is available under the MIT license. See the [LICENSE].
[license]: https://github.com/hyperoslo/hyper-content-for-angular/blob/master/LICENSE.md