-
Notifications
You must be signed in to change notification settings - Fork 2
Proxy
Timur Zununbekov edited this page Oct 23, 2016
·
4 revisions
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
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.