1.1.0 • Published 5 years ago

proxme v1.1.0

Weekly downloads
9
License
ISC
Repository
-
Last release
5 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

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.0

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago