mirror of https://github.com/flarum/flarum
parent
d3bb8409b7
commit
443dfa2c51
|
@ -9,14 +9,12 @@
|
||||||
</defaultDocument>
|
</defaultDocument>
|
||||||
<rewrite>
|
<rewrite>
|
||||||
<rules>
|
<rules>
|
||||||
<!-- Uncomment the rule below if you are not using the `public` directory to
|
<!-- Changed `enabled=` to true in the rule below if you are not using the `public` directory to
|
||||||
prevent sensitve resources from being exposed -->
|
prevent sensitve resources from being exposed -->
|
||||||
<!--
|
<rule name="Disallow sensitive directories" enabled="false" stopProcessing="true">
|
||||||
<rule name="Disallow sensitive directories" stopProcessing="true">
|
|
||||||
<match url="^/(\.git|composer\.(json|lock)|auth\.json|config\.php|flarum|storage|vendor)" ignoreCase="false" />
|
<match url="^/(\.git|composer\.(json|lock)|auth\.json|config\.php|flarum|storage|vendor)" ignoreCase="false" />
|
||||||
<action type="CustomResponse" url="/" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" />
|
<action type="CustomResponse" url="/" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" />
|
||||||
</rule>
|
</rule>
|
||||||
-->
|
|
||||||
<rule name="Handle index.php re-write" stopProcessing="true">
|
<rule name="Handle index.php re-write" stopProcessing="true">
|
||||||
<match url="^" ignoreCase="false" />
|
<match url="^" ignoreCase="false" />
|
||||||
<conditions logicalGrouping="MatchAll">
|
<conditions logicalGrouping="MatchAll">
|
||||||
|
|
Loading…
Reference in New Issue