Skip to content

Commit fa7dfe7

Browse files
committed
updates
1 parent 567c02d commit fa7dfe7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,8 @@ if (req.secure) {
352352

353353
## URL rewrites
354354

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.
355+
When deploying Node.js apps on Azure App Service for Linux, you may need to handle URL rewrites directly within your application. This is particularly useful for ensuring specific URL patterns are redirected to the correct endpoints without relying on web server configurations. There are several ways to accomplish URL rewrites in Node.js. One example is through the [express-urlrewrite](https://www.npmjs.com/package/express-urlrewrite) package.
356+
356357

357358
## Monitor with Application Insights
358359

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ When you're successfully connected to the SSH session, you should see the messag
372372

373373
## URL rewrites
374374

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.
375+
When deploying Python applications on Azure App Service for Linux, you may need to handle URL rewrites within your application. This is particularly useful for ensuring specific URL patterns are redirected to the correct endpoints without relying on external web server configurations. For Flask applications, [URL processors](https://flask.palletsprojects.com/patterns/urlprocessors/) and custom middleware can be used to achieve this. In Django applications, the robust [URL dispatcher](https://docs.djangoproject.com/en/5.0/topics/http/urls/) allows for efficient management of URL rewrites.
376376

377377
## Troubleshooting
378378

0 commit comments

Comments
 (0)