In 独立/配置/standalone-full.xml,我已经声明了以下主机,即works
<host name="webhost" alias="gateway.example.com" />
当我尝试添加另一个别名时,出现错误 404。
<host name="webhost" alias="gateway.example.com www.gateway.example.com"/>
The 文档 https://docs.jboss.org/author/display/WFLY8/Undertow+(web)+subsystem+configuration说别名列表是空格分隔的。
文档中有一个错误。它是逗号分隔的主机列表,不是空格分隔的。
例子是
<host name="default-host" alias="localhost, some.host" >
我还修复了文档来解决这个问题
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)