From 08af467683e145b1cfbc73520ae3790da4ae3635 Mon Sep 17 00:00:00 2001
From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Date: Mon, 27 Feb 2023 13:06:11 -1000
Subject: [PATCH] Update linux-nginx.md (#28483)
* Update linux-nginx.md
* Update aspnetcore/host-and-deploy/linux-nginx.md
* Update aspnetcore/host-and-deploy/linux-nginx.md
* Update aspnetcore/host-and-deploy/linux-nginx.md
---
aspnetcore/host-and-deploy/linux-nginx.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/aspnetcore/host-and-deploy/linux-nginx.md b/aspnetcore/host-and-deploy/linux-nginx.md
index 1420e82f2e..3c02bd8ad6 100644
--- a/aspnetcore/host-and-deploy/linux-nginx.md
+++ b/aspnetcore/host-and-deploy/linux-nginx.md
@@ -237,6 +237,10 @@ If the app runs on the server but fails to respond over the internet, check the
When done testing the app, shut down the app with Ctrl+C (Windows) or ⌘+C (macOS) at the command prompt.
+### Increase keepalive_requests
+
+[`keepalive_requests`](http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_requests) can be increased for [higher performance](https://www.nginx.com/blog/10-tips-for-10x-application-performance/#web-server-tuning), For more information, see [this GitHub issue](https://github.com/dotnet/AspNetCore.Docs/issues/22141#issuecomment-1442435506).
+
## Monitor the app
The server is set up to forward requests made to `http://:80` on to the ASP.NET Core app running on Kestrel at `http://127.0.0.1:5000`. However, Nginx isn't set up to manage the Kestrel process. [`systemd`](https://systemd.io/) can be used to create a service file to start and monitor the underlying web app. `systemd` is an init system that provides many powerful features for starting, stopping, and managing processes.