简体   繁体   English

如何使用 Nginx 在 blazor 服务器上进行平衡?

[英]How to do balancing on blazor server using Nginx?

I have a website on blazor server that will need to scale in the future ie there will be several servers.我在 blazor 服务器上有一个网站,将来需要扩展,即会有几台服务器。 How to do balancing on blazor server using Nginx?如何使用 Nginx 在 blazor 服务器上进行平衡? In this case, it is necessary that the session is also saved, ie did not throw out in case of turning off one of the servers.在这种情况下,session 也有必要被保存,即在关闭其中一台服务器的情况下没有丢弃。

Microsoft describes how to load-balance on Linux using NGINX on the following page: Microsoft 在以下页面描述了如何使用 NGINX 在 Linux 上进行负载平衡:

ASP.NET Core SignalR hosting and scaling ASP.NET 核心 SignalR 托管和扩展

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM