https://github.com/vanng822/rproxy
https://github.com/vanng822/rproxy
golang reverse-proxy
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/vanng822/rproxy
- Owner: vanng822
- License: mit
- Created: 2015-04-01T17:08:01.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2025-12-17T20:20:01.000Z (6 months ago)
- Last Synced: 2025-12-27T12:22:44.819Z (6 months ago)
- Topics: golang, reverse-proxy
- Language: Go
- Size: 21.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rproxy
The idea is to have a proxy where host can be registered dynamically.
The goal is creating something for development purpose where developers can
register their application server and this proxy will send request to correct place.
# Usage example for fakedomain.tld
## Adding backend node to a server
curl -d 'serverName=fakedomain.tld&targetUrl=http://127.0.0.1:8080' 'http://127.0.0.1:5556/_server/backend'
## Show list of servers
curl 'http://127.0.0.1:5556/_server'
## Show list of backend node for a server
curl 'http://127.0.0.1:5556/_server/backend?serverName=fakedomain.tld'
## Delete a backend node
curl -X DELETE 'http://127.0.0.1:5556/_server/backend?serverName=fakedomain.tld&targetUrl=http://127.0.0.1:8080'