Use a proxy for event handlers
This page describes StackState version 4.3.

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 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.
  1. 1.
    Edit the file application_stackstate.conf.
  2. 2.
    Add details of the proxy host and port to the akka section at the bottom of the file. Note that the specified proxy will be used for both HTTP and HTTPS requests.
    1
    stackstate {
    2
    ...
    3
    }
    4
    5
    akka {
    6
    http {
    7
    ...
    8
    client {
    9
    proxy {
    10
    https {
    11
    host = "example-hostname"
    12
    port = 443
    13
    }
    14
    }
    15
    }
    16
    ...
    17
    }
    18
    }
    Copied!
  3. 3.
    Save the application_stackstate.conf file.
  4. 4.
    Restart StackState to apply the configuration changes. All event handlers will now use the configured proxy.

See also

Last modified 2mo ago