[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-587) Docs: Undertow hosts root location is exposed(by default) to mod_cluster load balancer

Radoslav Husar (JIRA) issues at jboss.org
Tue Jun 6 11:36:00 EDT 2017


     [ https://issues.jboss.org/browse/MODCLUSTER-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radoslav Husar updated MODCLUSTER-587:
--------------------------------------
    Summary: Docs: Undertow hosts root location is exposed(by default) to mod_cluster load balancer  (was: Undertow hosts root location is exposed(by default) to mod_cluster load balancer)


> Docs: Undertow hosts root location is exposed(by default) to mod_cluster load balancer
> --------------------------------------------------------------------------------------
>
>                 Key: MODCLUSTER-587
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-587
>             Project: mod_cluster
>          Issue Type: Bug
>          Components: Documentation & Demos
>            Reporter: Bogdan Sikora
>            Assignee: Michal Karm Babacek
>
> Undertow can be configured to serve static content per host via the location resource. This location resource is exposed to the mod_cluster balancer.
> {noformat}
>                "context" => {
>                     "/custom_location" => {
>                         "requests" => 0,
>                         "status" => "enabled"
>                     },
> {noformat}
> However, all EAP standalone profiles have enabled root location by default. This root location is then exposed to the balancer( Application root "/" is registered).
> {noformat}
>   "context" => {
>                     "/" => {
>                         "requests" => 0,
>                         "status" => "enabled"
>                     },
> {noformat}
> Root application matches with any application call and therefore mod_cluster balancer is unable to correctly route requests.
> To make mod_cluster work, one must delete root location from worker nodes.
> {noformat}
> /subsystem=undertow/server=default-server/host=default-host/location=\/:remove()
> {noformat}
> or excluding context ROOT
> {noformat}
> /subsystem=modcluster/mod-cluster-config=configuration:write-attribute(name=excluded-contexts,value="ROOT")
> {noformat}
> *_+Proposal:+_*
> Exclude ROOT context by default



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the mod_cluster-issues mailing list