@simplus/proxy-server
v1.0.6
Published
``` npm install -g proxy-server ```
Downloads
8
Readme
Proxy server
Installation
npm install -g proxy-server
Usage
Start the server with the following command
proxy-server start
Stop the server by running
proxy-server stop
Options
- -a, --api : The api url (default : http://127.0.0.1:8081)
- -c, --client: the client url (default : http://127.0.0.1:8080)
- -n, --name: the name of pm2 process (default : proxy-server)
- -p, --port: the port used by proxy server (default : 80)
Exemple:
If i have a server running on http://myserverdomain.com, and a client running localy on port 8080
proxy-server start -a http://myserverdomain.com -c http://localhost:8080