@simplus/proxy-server

1.0.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @simplus/proxy-server

Weekly Downloads

2

Version

1.0.6

License

MIT

Unpacked Size

3.91 kB

Total Files

4

Last publish

Collaborators

  • athenkosi
  • simplusinnovation