/docker-nginx-tcp

Primary LanguageShellMIT LicenseMIT

aptible/nginx-tcp

NGiNX TCP reverse proxy server.

Usage

The proxy is configured via the PROXY_CONFIGURATION configuration. Its structure should look like this:

[
  [
    LISTENER_PORT,
    [
      [UPSTREAM_HOST, UPSTREAM_PORT] (UPSTREAM), (UPSTREAM), ...
    ]
  ] (LISTENER), (LISTENER), ...
]

Additionally, the IDLE_TIMEOUT controls the proxy idle timeout, in seconds.

Copyright and License

MIT License, see LICENSE for details.

Copyright (c) 2017 Aptible and contributors.