.net core nginx hosting sockets doesn't allow http post

后端 未结 3 1780
花落未央
花落未央 2021-01-23 01:17

I am trying to make a website that would have http functions including http post functions, and also web sockets (such as signalR). I am trying to host this website on an ubuntu

3条回答
  •  半阙折子戏
    2021-01-23 01:43

    using $http_connection instead of keep-alive or upgrade

    proxy_set_header Connection $http_connection;
    

提交回复
热议问题