Skip to content

Commit 1498080

Browse files
committed
fix azure config indention
1 parent 5a1adae commit 1498080

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

deployment/azure-website.rst

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -404,32 +404,32 @@ application, configure it with the following content:
404404
.. code-block:: xml
405405
406406
<configuration>
407-
<system.webServer>
408-
<rewrite>
409-
<rules>
410-
<clear/>
411-
<rule name="BlockAccessToPublic" patternSyntax="Wildcard" stopProcessing="true">
412-
<match url="*"/>
413-
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
414-
<add input="{URL}" pattern="/web/*"/>
415-
</conditions>
416-
<action type="CustomResponse" statusCode="403" statusReason="Forbidden: Access is denied." statusDescription="You do not have permission to view this directory or page using the credentials that you supplied."/>
417-
</rule>
418-
<rule name="RewriteAssetsToPublic" stopProcessing="true">
419-
<match url="^(.*)(\.css|\.js|\.jpg|\.png|\.gif|\.ico)$"/>
420-
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
421-
</conditions>
422-
<action type="Rewrite" url="web/{R:0}"/>
423-
</rule>
424-
<rule name="RewriteRequestsToPublic" stopProcessing="true">
425-
<match url="^(.*)$"/>
426-
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
427-
</conditions>
428-
<action type="Rewrite" url="web/app.php/{R:0}"/>
429-
</rule>
430-
</rules>
431-
</rewrite>
432-
</system.webServer>
407+
<system.webServer>
408+
<rewrite>
409+
<rules>
410+
<clear/>
411+
<rule name="BlockAccessToPublic" patternSyntax="Wildcard" stopProcessing="true">
412+
<match url="*"/>
413+
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
414+
<add input="{URL}" pattern="/web/*"/>
415+
</conditions>
416+
<action type="CustomResponse" statusCode="403" statusReason="Forbidden: Access is denied." statusDescription="You do not have permission to view this directory or page using the credentials that you supplied."/>
417+
</rule>
418+
<rule name="RewriteAssetsToPublic" stopProcessing="true">
419+
<match url="^(.*)(\.css|\.js|\.jpg|\.png|\.gif|\.ico)$"/>
420+
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
421+
</conditions>
422+
<action type="Rewrite" url="web/{R:0}"/>
423+
</rule>
424+
<rule name="RewriteRequestsToPublic" stopProcessing="true">
425+
<match url="^(.*)$"/>
426+
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
427+
</conditions>
428+
<action type="Rewrite" url="web/app.php/{R:0}"/>
429+
</rule>
430+
</rules>
431+
</rewrite>
432+
</system.webServer>
433433
</configuration>
434434
435435
As you can see, the latest rule ``RewriteRequestsToPublic`` is responsible for

0 commit comments

Comments
 (0)