Description of the outbound HTTP connection configuration script | HCL Digital Experience
The configuration settings of an outbound HTTP connection configuration script are described here.
- proxy-rules
- The
proxy-rulessetting is the root of a configuration profile. The configuration profile for which the script is applied is specified in the configuration task that is run against this script. Theproxy-rulessetting can contain the following subsettings:- variables
- Use the
variablessetting to specify endpoint variables or dynamic policy variables. Variables are used in the URL attribute of the policy setting, or they are used in a variable value. For more details about how to use variables, read Variables. - mapping
- Use the
mappingsetting to map incoming requests to a target URL, based on their context path. Therefore, each mapping must specify acontextpathattribute and optionally aurlattribute. Optionally, mappings can declare policy settings that represent mapping specific access policies. For more details about how to use mappings, read Context path mappings. Mappings contain a name attribute that gives an administrative name for this mapping. This attribute is used by administrative tasks to identify the mapping for update tasks or delete tasks. - policy
- Use the
policysetting to define an access policy for a specific URL pattern. A proxy configuration can contain multiple policy definitions. If no policy is specified at all, the portal denies all incoming requests. For more details about policies, read Access policies. - ipfilter
- Use
ipfiltersetting to define one or more IP patterns. You can use these IP filter patterns to either grant or deny a particular IP address or a set of addresses access to the Ajax proxy. For more details about IP filtering rules, read IP filtering. - meta-data
- Use the
meta-datasetting to specify general configuration properties of the proxy, for example HTTP-related parameters. Eachmeta-datasetting must have anameand avalue. To get a list of configuration parameters that are available in the portal, read General configuration parameters by metadata.