On this page:
   24.48    HTTP Access Log 24.50    HTTP Request Pool   

24.49HTTP Listener

 

The HTTP Listener configuration category includes the following configurable options:

  • Listener Port

  • Context Path

  • Respect Forward Headers

  • Endpoint Health Path

24.49.1Property: Listener Port

 
Property Key
Property Type POSITIVE_INTEGER
Description The TCP port on which this module listens.
Default Value (no default)
Is Optional? No

24.49.2Property: Context Path

 
Property Key
Property Type STRING
Description This setting provides the path at the given port that this server will listen on. By default the server simply listens at the / path, but this could be changed to a sub-path for some network architectures. For example, if a reverse proxy is proxying the server but also serving other endpoints with the same port at different paths, this setting can be used as a hint to this server as to which path should be used. If a reverse proxy is serving this server in such a way that a request to the proxy at /baseurl/foo/index.html should map to /index.html on this server, you should put /baseurl/foo as the context root.
Default Value /
Is Optional? Yes

24.49.3Property: Respect Forward Headers

 
Property Key
Property Type BOOLEAN
Description If enabled, the server will respect values provided by the client in the HTTP Forward, X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Proto headers. These headers are useful in cases where Smile CDR is being served behind a reverse proxy. This setting should be disabled if the server is not behind a proxy since this could allow clients to masquerade their source IP, which is a security risk. See Respecting Forward Headers for more information.
Default Value false
Is Optional? No

24.49.4Property: Endpoint Health Path

 
Property Key
Property Type STRING
Description Specifies a path (in the form /path/to/endpoint) that will be used as the Endpoint Health Check path. See Endpoint Health for information on this feature.
Default Value /endpoint-health
Is Optional? Yes
   24.48    HTTP Access Log 24.50    HTTP Request Pool