Edit online

How to Configure an HTTP Proxy

To configure an HTTP Proxy for the Oxygen Feedback or Oxygen Text Search Service instances, use the appropriate procedure below:

Oxygen Feedback
  1. Edit the $OXYGEN_FEEDBACK_INSTALL_DIR/oxygen-feedback-home/config/feedback-server.properties file.
  2. Set the following values:
    # The hostname of the HTTP proxy server (without protocol and port number)
    # Example: proxy.example.net
    http.proxyHost=
    
    # The port number of the HTTP proxy server, property is optional and defaults to 80 if not provided
    http.proxyPort=
    
    # A list of hosts that should be reached directly, bypassing the proxy. 
    # This is a list of patterns separated by '|'. The patterns may start or end with a '*' for wildcards. 
    # Any host matching one of these patterns will be reached through a direct connection instead of through a proxy.
    # Example: ”localhost|host.example.com”
    http.nonProxyHosts
    
    # The hostname of the HTTPS proxy server (without protocol and port number)
    # Example: proxy.example.net
    https.proxyHost=
    
    # The port number of the HTTPS proxy server
    # https.proxyPort=
    
    # The hostname of the SOCKS proxy server
    # socksProxyHost=
    
    # The port number of the SOCKS proxy server
    # socksProxyPort=
Oxygen Text Search Service
  1. Edit the $OXYGEN_FEEDBACK_INSTALL_DIR/docker-compose.yml file.
  2. Configure the following environment variables for the Oxygen Text Search Service container:
    • http.proxyHost - The host name of the HTTP proxy server, without protocol and port number (e.g. proxy.example.net).
    • http.proxyPort - The port number of the HTTP proxy server (this environment variable is optional and defaults to 80 if not provided).
    • https.proxyHost - The host name of the HTTPS proxy server, without protocol and port number (e.g. proxy.example.net).
    • https.proxyPort - The port number of the HTTPS proxy server (this environment variable is optional and defaults to 443 if not provided).
    • http.nonProxyHosts - A list of hosts that should be reached directly, bypassing the proxy. This is a list of patterns separated by |. The patterns may start or end with a * for wildcards. Any host matching one of these patterns will be reached through a direct connection instead of through a proxy (e.g. localhost|host.example.com).
Note: When a proxy server is configured for the Oxygen Text Search Service container, the hostname of the URL configured in the semantic.search.configuration.server.url property should be listed in the http.nonProxyHosts list.