Alex Gleason 🐍🚬 on Nostr: There is a common misconception that Nginx has any control over WebSocket messages at ...
There is a common misconception that Nginx has any control over WebSocket messages at all. So I just want to say this to the world: Nginx CAN NOT rate limit WebSocket messages. Nginx CAN NOT see WebSocket connections. WebSockets are treated like normal HTTP requests, and once a connection is opened Nginx cannot save you. Thank you for coming to my Ted Talk.
Published at
2024-06-20 23:07:23Event JSON
{
"id": "07f0dca2ea60a3bf7e447fc4ba8b3cd3b5f71ede243e7fdc7f0a8efab2e7cdab",
"pubkey": "0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd",
"created_at": 1718924843,
"kind": 1,
"tags": [],
"content": "There is a common misconception that Nginx has any control over WebSocket messages at all. So I just want to say this to the world: Nginx CAN NOT rate limit WebSocket messages. Nginx CAN NOT see WebSocket connections. WebSockets are treated like normal HTTP requests, and once a connection is opened Nginx cannot save you. Thank you for coming to my Ted Talk.",
"sig": "24963549b4499f207b5a5a5c9f01352e3cf4298edfa5afb0f1d7545b0179234e3b246612eb0505135a0e89b88f3d79941b6244a29947593b4d0ac30f90eaf985"
}