-
Type:
Enhancement
-
Status: Closed
-
Priority:
Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Platform
-
Labels:None
-
Module:BenAdmin - Security
-
Reported by:Support
-
Item State:Production Complete - Closed
-
Issue Importance:Must Have
When user enter workterra.net, user should get redirected to https://www.workterra.net on production. It should not be mandatory to enter protocol for URL.
This ticket is related to WT-5254
Using configuration we will redirect user from http to https.
This change will only be applicable for LB, Stage and Production as this needs SSL certificate configured on server.
As developer machine do not have ssl configured, we are not considering development environment for this change.
We will add below tag in outer web.config file in System.WebServers tag
<rewrite>
{HTTPS}<rules>
<rule name="http to https" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="
" matchType="Pattern" pattern="^OFF$" ignoreCase="true" negate="false" />
{HTTP_HOST}</conditions>
<action type="Redirect" url="https://
/
{R:1}" redirectType="SeeOther" />
</rule>
</rules>
</rewrite>