1.1.0 • Published 7 years ago

proxme v1.1.0

Weekly downloads
9
License
ISC
Repository
-
Last release
7 years ago

Proxme

Simple express proxy

Usage

1. Create a config.toml file

TODO

[proxy]
port = 5000 # The port all request will be proxied through

# API / Backend
[[servers]]
url = 'http://localhost:3000'
paths = [
    "api",
]

# Frontend
[[servers]]
url = 'http://localhost:4000'
paths = [
    "", # This is equal to "/" page on site
    "posts",
    "blog",
]
2. Install proxme
$ npm install -g proxme
3. Run proxme with your config.toml file
$ proxme config.toml

# Use --verbose to have all proxied requests logged
$ proxme config.toml --verbose
1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.0

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago