sub-ingress

0.0.9 • Public • Published

http-ingress

Purpose

This software package can run a simple http-based ingress server, configurable with a yaml-file.

It should map incoming HTTP requests like a reverse proxy.

e.g.

We have a configuration file

like this

config/example.com.yml

www: '10.0.0.2:2444'
www2: '10.0.0.2:2445'

which should forward HTTP requests to the defined endpoint

HTTP -> `www.example.com` -> `10.0.0.2:2444`
HTTP -> `www2.example.com` -> `10.0.0.2:2445`
  • [ ] Setup tests (ava & supertest)

/sub-ingress/

    Package Sidebar

    Install

    npm i sub-ingress

    Weekly Downloads

    1

    Version

    0.0.9

    License

    ISC

    Unpacked Size

    9.12 kB

    Total Files

    9

    Last publish

    Collaborators

    • hexagon6