Public | Automated Build

Last pushed: 9 months ago
Short Description
This is tcp upstream nginx proxy with stats stub
Full Description

NGINX with TCP proxy support

Quick Start

for non ovpn balancer, just use this:

$ docker run --name nginx-tcp-proxy -d -p 2106:2106 -p 8123:8123 \
    -v C:/Users/dimkk/Documents/projects/docker-nginx-tcp-proxy/nginx.conf:/usr/local/nginx/conf/nginx.conf \
    dimkk/docker-nginx-tcp-proxy

for ovpn

  1. Get the .ovpn file from Open VPN server
  2. Use command
    $ docker run --name nginx-tcp-proxy -d -p 2106:2106 -p 8123:8123 \
     -v C:/docker-nginx-tcp-proxy/nginx.conf:/usr/local/nginx/conf/nginx.conf \
     -v C:/docker-nginx-tcp-proxy/client.ovpn:/root/client.ovpn \
     -e OVPN=/root/client.ovpn \
     --cap-add=NET_ADMIN --device /dev/net/tun \
     dimkk/docker-nginx-tcp-proxy
    

Manual

https://www.nginx.com/resources/admin-guide/tcp-load-balancing/

License

MIT

thanks, zack

Docker Pull Command
Owner
dimkk
Source Repository