Brooklyn

Package brooklyn.entity.proxy.nginx

 

Interface Summary
NginxController An entity that represents an Nginx proxy (e.g. for routing requests to servers in a cluster).
NginxDriver
UrlMapping This is a group whose members will be made available to a load-balancer / URL forwarding service (such as nginx).
 


Class Summary
NginxControllerImpl An entity that represents an Nginx proxy (e.g. for routing requests to servers in a cluster).
NginxSshDriver Start a NginxController in a Location accessible over ssh.
UrlMappingImpl This is a group whose members will be made available to a load-balancer / URL forwarding service (such as nginx).
UrlRewriteRule records a rewrite rule for use in URL rewriting such as by nginx; from and to are expected to be usual regex replacement strings, with the convention here (for portability) that:
  • from should match the entire path (internally is wrapped with ^ and $ for nginx); to can refer to $1, $2 from the groups in from
  • so eg use from = (.*)A(.*) and to = $1B$2 to change all occurrences of A to B
     


    Brooklyn Multi-Cloud Application Management Platform
    brooklyncentral.github.com. Apache License. © 2012.