-
Notifications
You must be signed in to change notification settings - Fork 15
proxy_deprecated
DEPRECATED
Important: See Version 8 section below
proxy <add|check|del> <vlan tag> <options>
- Subutai reverse proxy configuration
Options:
Add:
--domain, -d <string domain> add domain to VLAN
--host, -h <string IP> add host to domain on VLAN
--policy, -p <string policy> set load balance policy (rr|lb|hash)
--file, -f <path to .pem file> pem certificate file
Del:
--domain, -d delete domain from VLAN
--host, -h <string IP> delete host from domain on VLAN
Check:
--domain, -d check domain on VLAN
--host, -h <string IP> check hosts in domain on vlan
Examples:
subutai proxy add 100 -d example.com
subutai proxy check 100 -d
subutai proxy add 100 -h 10.10.0.20
subutai proxy check 100 -h 10.10.0.20
subutai proxy del 100 -d
Since agent version 8, format of proxy command changed:
subutai proxy domain add {vlan} {domain}
subutai proxy dom add 100 example.com -b round-robin -f /path/to/PEM-cert
subutai proxy dom rm {vlan}
subutai proxy dom check {vlan}
subutai proxy host add {vlan} {container ip [:port]}
subutai proxy host add 100 172.12.13.14:8008
subutai proxy host rm 100 172.12.13.14:8008
subutai proxy host check 100 172.12.13.14:8008
Description:
The reverse proxy component in Subutai provides and easy way to assign domain name and forward HTTP(S) traffic to certain environment.
The proxy binding is used to manage Subutai reverse proxies. Each proxy subcommand works with config patterns: adding, removing or checking certain lines, and reloading the proxy daemon if needed, etc.
The reverse proxy functionality supports three common load balancing strategies - round-robin, load based and "sticky" sessions. It can also accept SSL certificates in .pem file format and install it for a domain.