Use this topic to perform advanced configuration on a proxy server. Proxy settings enable the system administrator to fine tune the behavior of the proxy server. In particular, you can configure the connections and requests to the application server, enable caching, configure the requests that must be rejected, define how error responses are handled, and specify the location of the proxy logs.
The proxy server, upon creation, auto-senses the environment and is capable of routing requests to WebSphere Application Server. Additional configuration can be applied to the proxy server to meet the needs of a particular environment.
To view this administrative console page, click Servers > Proxy Servers > server_name > HTTP Proxy Server Settings > Proxy settings.
You can edit configurable field settings for the proxy server on the Configuration tab.
Configure basic HTTP connection parameters between the proxy server and content servers.
Outbound request timeout: The default number of seconds the proxy server waits for a response before timing out a request to a content server. Consider this option carefully when changing the value.
Outbound connect timeout: The number of milliseconds that the proxy server waits to connect to a server. If this time expires, the proxy server attempts to connect to a different server. If no other available servers exist, the request times out. A value of 0 indicates that the proxy server should use the operating system kernel timeout value.
Pool connections to content server: The option to pool connections to the server is an optimization feature. Pooling prevents the need to frequently create and destroy socket connections to the server, by allowing the proxy server to pool these connections and reuse them. Maximum connections per server: The maximum number of connections that will be pooled to any single content server. Proxy custom properties that tweak content server connections are as follows:
SSL Configuration: Set the SSL configuration from one of several sources:
Centrally managed | Use the SSL configuration that is scoped for this endpoint. |
Specific to this endpoint | Use a specific SSL configuration. |
Select SSL Configuration | Options are NONE, CellDefaultSSLSettings, or NodeDefaultSSLSettings |
The proxy server can be configured to cache the content of servers. By default, caching content is enabled. The properties that follow apply only if caching is enabled:
Check this option to enable the proxy server to route Web services traffic.
The proxy server examines every incoming request. You can define certain methods for exclusion and if the requested HTTP method matches any of the configured methods for exclusion, the proxy server rejects the requests with a METHOD DISALLOWED error. Enter each method as a single line.
The proxy server has logs that are generated for proxied requests and stored cache requests. With this configuration, you can specify the location of the proxy access log and the cache access log.
Use the default location, or specify a directory location. There is a third log called ${SERVER_LOG_ROOT}/local.log that logs locally-served proxy content. This content does not come from the proxy cache. Proxy custom properties that can be used to tweak logging are as follows:
HTTP requests are logged in one of three logs: proxy, cache, and local. Local log configuration is not currently available in the administrative console, but it is available at ${SERVER_LOG_ROOT}/local.log. Specify the location of this log by setting the http.log.localFileName custom property to the file location. The content of each log is formatted using National Center for Supercomputing Applications (NCSA) common log format.
Use this section to set up security options.
An empty list of trusted security proxies indicates that all WebSphere Application Server plug-in clients are trusted. Once a trusted security proxy is specified, only the listed clients will be trusted.
Scope | Description |
---|---|
None | No scope. |
All | The proxy server generates a plugin configuration that includes all of the URIs that are handled by proxy servers in the local cell and all cells that are connected by a core group bridge. |
Cell | The proxy server generates a plugin configuration that includes all of the URIs that are handled by all the proxy servers in the cell. |
Node | Includes all of the URIs that are configured for the node. |
Server | The proxy server generates a plugin configuration file only for the proxy server that is currently configured. |
Use this field to support the use of customized error pages when errors occur during the processing of the request. The default is no customized error pages generated. The properties that follow enable customized error pages for use when errors occur during request processing:
GET /house/rooms/kitchen.jpg HTTP/1.1 Host: homeserver.companyx.comThe request results in a HTTP 404 response (local or remote), and the request URI to the error page application would be:
/ErrorPageApp/ErrorPage?responseCode=404&uri=/house/rooms/kitchen.jpg&Host= homeserver.companyx.com
Proxy custom property to use when tweaking the custom error page: key=http.statuscode.errorPageRedirect. This custom property determines whether error page generation is done using the redirect, instead of using the proxy error page application. The values are true or false. The default is false.