lyssa
v0.1.7
Published
A simple reverse proxy.
Downloads
2
Readme
lyssa
A simple reverse proxy.
support
- http
- https
- websocket
usage
lyssa = require './lyssa'
server = lyssa
target: 'http://lucy.faceair.me'
forward: 'http://localhost:8000'
server.listen 8000
option
require('lyssa')(option)
option.target
domain of proxy serveroption.forward
your own domainoption.limit
the byte limit of the body, default1mb
todo
- https cert