Hi

We are using Cloudstack 4.17.1.0.
Https://host.domain.com:8443 works fine.

I followed to steps below to redirect http 8080 to https 8443 with no luck....
Is there another way to do this in 4.17.1.0?
Hope so... :-)

------------

For auto redirection from 8080 to 8443, Add below content in 
'/usr/share/cloudstack-management/webapp/WEB-INF/web.xml' file at line 22
<security-constraint>

<web-resource-collection>

<web-resource-name>Everything in the webapp</web-resource-name>

<url-pattern>/*</url-pattern>

</web-resource-collection>

<user-data-constraint>

<transport-guarantee>CONFIDENTIAL</transport-guarantee>

</user-data-constraint>

</security-constraint>


<Call name="addConnector">

<Arg>

<New class="org.eclipse.jetty.nio.SelectChannelConnector">

...

<Set name="confidentialPort">8443</Set>

</New>

</Arg>

</Call>
Restart the management service
systemctl restart cloudstack-management


Best regards
David Larsen

Reply via email to