Use a proxy for event handlers
StackState Self-hosted v5.1.x
Overview
StackState can be configured to use a proxy for event handlers. When client proxy settings are configured for http or https in the StackState application_stackstate.conf file, these will be used by all event handlers. No further changes are required in the event handler function script.
Configure a proxy for event handlers
To use a proxy for event handlers, proxy details must be added to the akka section of the StackState application_stackstate.conf file.
Edit the file
application_stackstate.conf.Add details of the proxy
hostandportto theakkasection at the bottom of the file. Note that the specified proxy will be used for both HTTP and HTTPS requests.stackstate { ... } akka { http { ... client { proxy { https { host = "example-hostname" port = 443 } } } ... } }Save the
application_stackstate.conffile.Restart StackState to apply the configuration changes. All event handlers will now use the configured proxy.
See also
Last updated