Description
The Nginx section contains the following code snippet:
http {
server {
...
location / {
...
limit_req zone=one burst=60 nodelay;
}
}
}
The snippet implies that limit_req is enough to define the burst rate, but this is not true. It will be good if the code snippet includes one more line and looks like this:
http {
limit_req_zone $binary_remote_addr zone=one:10m rate=60r/s;
server {
...
location / {
...
limit_req zone=one burst=60 nodelay;
}
}
}
Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/webassembly?view=aspnetcore-9.0#nginx
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/host-and-deploy/webassembly.md
Document ID
250e7458-3c1d-0117-261d-c03ac136f16a
Platform Id
bb25572e-a1a5-3d09-b9fe-0784ee190e5a
Article author
@guardrex
Metadata
- ID: be59faf1-5a20-b7e9-19ff-06589023bb15
- PlatformId: bb25572e-a1a5-3d09-b9fe-0784ee190e5a
- Service: aspnet-core
- Sub-service: blazor
Related Issues
Description
The Nginx section contains the following code snippet:
The snippet implies that
limit_reqis enough to define the burst rate, but this is not true. It will be good if the code snippet includes one more line and looks like this:Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/webassembly?view=aspnetcore-9.0#nginx
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/host-and-deploy/webassembly.md
Document ID
250e7458-3c1d-0117-261d-c03ac136f16a
Platform Id
bb25572e-a1a5-3d09-b9fe-0784ee190e5a
Article author
@guardrex
Metadata
Related Issues