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;

Quick About

Hi, I am Michael Harrison. Devops/Developer for day job and father full time. I like machines such as 3d printers and like designing items for them.

Contact


E-mail: [email protected]
Phone: (765) 421-6199

Other Information


[Construction Icon]