Files
upstream-espocrm/public/web.config
upstream-mirror 7cc7e6b4f3
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 1s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
2026-09-18 04:19:15 +05:00

43 lines
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<defaultDocument>
<files>
<clear />
<add value="index.php" />
<add value="index.html" />
</files>
</defaultDocument>
<security>
<requestFiltering>
<verbs allowUnlisted="false">
<add verb="GET" allowed="true" />
<add verb="POST" allowed="true" />
<add verb="PUT" allowed="true" />
<add verb="PATCH" allowed="true" />
<add verb="DELETE" allowed="true" />
</verbs>
</requestFiltering>
</security>
<rewrite>
<rules>
<rule name="rule 1G" stopProcessing="true">
<match url="^api/v1/portal-access/(.*)$" />
<action type="Rewrite" url="api/v1/portal-access/index.php" appendQueryString="true" />
</rule>
<rule name="rule 2G" stopProcessing="true">
<match url="^api/v1/(.*)$" />
<action type="Rewrite" url="api/v1/index.php" appendQueryString="true" />
</rule>
<rule name="rule 3G" stopProcessing="true">
<match url="^portal/(.*)$" />
<action type="Rewrite" url="portal/index.php" appendQueryString="true" />
</rule>
</rules>
</rewrite>
<staticContent>
<mimeMap fileExtension=".tpl" mimeType="text/plain" />
</staticContent>
</system.webServer>
</configuration>