Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Previous versions in xwiki-platform
-
reverse proxy broken html
-
Description
Here is the same problem found on the mailing list.
http://www.mail-archive.com/users@xwiki.org/msg10504.html
However, adding <Set name="forwarded">true</Set> into the Jetty configuration file solved this problem.
I don't know the details of this problem but it could be that there's something wrong with rendering URLs with span's broke the html
when XWIKI is behind Reverse proxy.
<Call name="addConnector">
<Arg>
<New class="org.mortbay.jetty.nio.SelectChannelConnector">
<Set name="host"><SystemProperty name="jetty.host" /></Set>
<Set name="port"><SystemProperty name="jetty.port" default="8080"/>
<Set name="forwarded">true</Set>
<Set name="maxIdleTime">30000</Set>
<Set name="Acceptors">2</Set>
<Set name="statsOn">false</Set>
<Set name="confidentialPort">8443</Set>
<Set name="lowResourcesConnections">5000</Set>
<Set name="lowResourcesMaxIdleTime">5000</Set>
</New>
</Arg>
</Call>