reverseproxy #4
Description
This charm implements the interface reverseproxy so that charms that do not support the interface can be related without modifying the original charm.
- Tags:
- misc ›
Overview
This charm implements the requires side of the reverseproxy interface. This allows you to request and configure a reverseproxy on a machine that doesn't implemnt the interface.
Usage
To deploy:
juju deploy cs:~chris.sanders/reverseproxy --to 1
juju add-relation reverseproxy haproxy
In the above example this charm is deployed to machine 1 and a relation is added to the haproxy charm.
Configuration
See configuration options below.
Contact Information
Upstream Project Name
- Code: https://github.com/chris-sanders/layer-reverseproxy
- Bug tracking: https://github.com/chris-sanders/layer-reverseproxy/issues
- Contact information: sanders.chris@gmail.com
Configuration
- acl-local
- (boolean) Restrict the backend to private subnets
- external-port
- (int) The external port the provider will listen on
- 80
- group-id
- (string) Optional group id setting from reverseproxy interface
- hostname
- (string) The host name to set
- hostname-dhcp
- (boolean) Trigger DHCP renew after hostname change
- True
- internal-port
- (int) The internal port on the host to redirect to
- 80
- mode
- (string) Use of http or tcp for reverseproxy
- http
- proxypass
- (boolean) Set Forward-For and Forward-Proto headers
- rewrite-path
- (boolean) Remove urlbase on redirect
- ssl
- (boolean) Connect via SSL regardless of port
- ssl-verify
- (boolean) Check SSL certs (no self signed)
- subdomain
- (string) Subdomain for redirect in http mode
- urlbase
- (string) Url for redirect in http mode, must include leading /