Enables use of visualiser's websockets when running in production mode, by setting the environment variable ACTION_CABLE_ALLOWED_ORIGINS
This is defined in ansible/etc/globals.yaml, but if not present here, will be set to the value of ansible_facts.hostname.
When setting the allowed origins, the port can optionally be set - if no port is specified, any port is allowed. Likewise the protocol can optionally be set (http or https) and if no protocol included, both are allowed.
Enables use of visualiser's websockets when running in production mode, by setting the environment variable
ACTION_CABLE_ALLOWED_ORIGINS
This is defined in
ansible/etc/globals.yaml
, but if not present here, will be set to the value ofansible_facts.hostname
.When setting the allowed origins, the port can optionally be set - if no port is specified, any port is allowed. Likewise the protocol can optionally be set (http or https) and if no protocol included, both are allowed.
Linked to https://github.com/alces-flight/concertim-ct-visualisation-app/pull/108