We suck at websockets!

👋 Hey there friends!

The new site uses Blazor which requires Websockets to work. I have a Nginx server in front of the application. Without adding the config below, the SignlR library was falling back to polling. Upsetting Cloudflare as they were notifying me about bot traffic.

Add the below to the correct section in the nginx config.

               proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection $http_connection;

An error has occurred. This application may no longer respond until reloaded. Reload 🗙