785 B
785 B
Required variables
These variables are required for this role to function. Example values provided
vhost_id: myservice # A unique identifier for this vhost. Not visible to end users.
vhost_type: reverse_proxy # Supported values: reverse_proxy, redirect
vhost_domains:
- www.domain.tld
- domain.tld
Optional variables
These variables have the following default values.
web_server: caddy # Supported values: caddy, none
Variables specific to vhost type
reverse_proxy
Required:
proxy_target_port: 8080
Optional:
proxy_target_host: localhost
proxy_target_protocol: http
redirect
Required:
redirect_target: https://www.domain.tld/location
Optional:
redirect_type: temporary # Supported values: temporary, permanent