-
Notifications
You must be signed in to change notification settings - Fork 0
/
web.config
28 lines (28 loc) · 1.16 KB
/
web.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<!-- To customize the asp.net core module uncomment and edit the following section.
For more info see https://go.microsoft.com/fwlink/?linkid=838655 -->
<system.webServer>
<!--http://hovercraft.ie/asp-net-core-web-api-put-delete-methods-not-allowed-405-error/-->
<modules runAllManagedModulesForAllRequests="false">
<remove name="WebDAVModule" />
</modules>
<handlers>
<remove name="aspNetCore" />
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".\VirtoCommerce.Storefront.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout">
<environmentVariables />
</aspNetCore>
<rewrite>
<rules>
<rule name="Redirect admin" stopProcessing="true">
<match url="^admin(.*)" />
<conditions trackAllCaptures="true" />
<action type="Redirect" url="http://admin-demo.virtocommerce.com" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
<!--ProjectGuid: 84C14E0A-0F36-4BB5-9C00-7E8FB72891C2-->