https://github.com/tailrecursion/boot-proxy
HTTP Boot proxy task.
https://github.com/tailrecursion/boot-proxy
Last synced: about 2 months ago
JSON representation
HTTP Boot proxy task.
- Host: GitHub
- URL: https://github.com/tailrecursion/boot-proxy
- Owner: tailrecursion
- Created: 2015-06-01T00:41:59.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-02T06:07:02.000Z (about 11 years ago)
- Last Synced: 2025-12-25T18:44:28.131Z (7 months ago)
- Language: Clojure
- Homepage:
- Size: 113 KB
- Stars: 1
- Watchers: 15
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# boot-proxy
A Boot HTTP proxy server task.
### Dependency
```clojure
[tailrecursion/boot-proxy "1.0.0-SNAPSHOT"]
```
### Command Line
Suppose you need a local proxy server for some reason (I needed one to be able
to make SOAP requests using Apache Axis2 to a test server whose SSL certificate
was invalid --- there was no easy way to tell Axis2 to pass those arguments to
the HTTP client it uses to make the requests).
```
$ boot serve-proxy -t /forward -p 7000 -u https://example.com -o insecure=true
```
You can now make requests to http://localhost:7000/foo/bar, for instance, and
the proxy will relay the request over SSL using the HTTP client options you
provide on the command line.
## License
Copyright © 2013 Alan Dipert and Micha Niskin
Distributed under the Eclipse Public License, the same as Clojure.