mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-16 17:25:58 +00:00
Add redirect for /aad to /?feature.enableAadDataPlane=true (#1649)
This commit is contained in:
parent
e42e24b175
commit
8ff9a84004
@ -6,6 +6,15 @@
|
|||||||
<mimeMap fileExtension="woff" mimeType="application/font-woff" />
|
<mimeMap fileExtension="woff" mimeType="application/font-woff" />
|
||||||
</staticContent>
|
</staticContent>
|
||||||
<rewrite>
|
<rewrite>
|
||||||
|
<rules>
|
||||||
|
<rule name="AAD-Redirect" stopProcessing="true">
|
||||||
|
<match url="^aad" ignoreCase="true"/>
|
||||||
|
<conditions>
|
||||||
|
<add input="{HTTP_HOST}" pattern="^cosmos.azure.com" />
|
||||||
|
</conditions>
|
||||||
|
<action type="Redirect" url="/?feature.enableAadDataPlane=true" redirectType="Permanent" />
|
||||||
|
</rule>
|
||||||
|
</rules>
|
||||||
<outboundRules>
|
<outboundRules>
|
||||||
<rule name="Strict-Transport-Security" enabled="true">
|
<rule name="Strict-Transport-Security" enabled="true">
|
||||||
<match serverVariable="RESPONSE_Strict_Transport_Security" pattern=".*" />
|
<match serverVariable="RESPONSE_Strict_Transport_Security" pattern=".*" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user