location / { proxy_pass http://localhost:5000; #以下为WebSocket需要配置 proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }
.Net5 SignalR在Nginx上的配置
原文:https://www.cnblogs.com/Jerrycjc/p/14845157.html