You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -516,27 +516,29 @@ By default, App Service starts your app from the root directory of your app code
516
516
517
517
# [Azure CLI](#tab/cli)
518
518
519
-
The following example sets the root path `/` to the `public` subdirectory (which works for Laravel), and also adds a second virtual application at the `/app2` path. To run it, change `<group-name>` and `<app-name>`.
519
+
The following example sets the root path `/` to the `public` subdirectory (which works for Laravel), and also adds a second virtual application at the `/app2` path. To run it, create a file called `json.txt` with the following contents.
520
+
521
+
```json
522
+
[
523
+
{
524
+
"physicalPath"':' "site\\wwwroot\\public",
525
+
"preloadEnabled"':' false,
526
+
"virtualDirectories"':' null,
527
+
"virtualPath"':' "/"
528
+
},
529
+
{
530
+
"physicalPath"':' "site\\wwwroot\\app2",
531
+
"preloadEnabled"':' false,
532
+
"virtualDirectories"':' null,
533
+
"virtualPath"':' "/app2"
534
+
}
535
+
]
536
+
```
537
+
538
+
Change `<group-name>` and `<app-name>` for your resources and run the following command. Be aware of escape characters when running this command. For more information on escape characters, see [Tips for using the Azure CLI successfully](/cli/azure/use-cli-effectively).
0 commit comments