Skip to content

Commit 567c02d

Browse files
committed
draft
1 parent a3b7d01 commit 567c02d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

articles/app-service/configure-language-nodejs.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,10 @@ if (req.secure) {
350350

351351
::: zone pivot="platform-linux"
352352

353+
## URL rewrites
354+
355+
URL rewrites need to be handled by the app. For example, you can use the [express-urlrewrite](https://www.npmjs.com/package/express-urlrewrite) package to accomplish this.
356+
353357
## Monitor with Application Insights
354358

355359
Application Insights allows you to monitor your application's performance, exceptions, and usage without making any code changes. To attach the App Insights agent, go to your web app in the Portal and select **Application Insights** under **Settings**, then select **Turn on Application Insights**. Next, select an existing App Insights resource or create a new one. Finally, select **Apply** at the bottom. To instrument your web app using PowerShell, please see [these instructions](../azure-monitor/app/azure-web-apps-nodejs.md#enable-through-powershell)

articles/app-service/configure-language-python.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,10 @@ Build issues such as incorrect dependencies in *requirements.txt* and errors in
370370

371371
When you're successfully connected to the SSH session, you should see the message "SSH CONNECTION ESTABLISHED" at the bottom of the window. If you see errors such as "SSH_CONNECTION_CLOSED" or a message that the container is restarting, an error may be preventing the app container from starting. See [Troubleshooting](#troubleshooting) for steps to investigate possible issues.
372372

373+
## URL rewrites
374+
375+
URL rewrites need to be handled by the app. For example, you can use the [URL processors](https://flask.palletsprojects.com/patterns/urlprocessors/) in Flask to accomplish this.
376+
373377
## Troubleshooting
374378

375379
In general, the first step in troubleshooting is to use App Service Diagnostics:

0 commit comments

Comments
 (0)