Commit 484d31

2026-02-26 20:36:19 Hargata Softworks: x
advanced/webhook.md ..
@@ 91,3 91,20 @@
## Notes on WebSocket Security
Unlike webhooks which publishes all events for all vehicles to a centralized endpoint, users will only receive events based on the vehicles they have access to. An API Key generated by a root user will receive events from all vehicles in the system.
+
+ ## Notes on Reverse proxy
+
+ If you are running LubeLogger behind a reverse proxy, you will need to configure your proxy to upgrade and forward the websocket connection correctly.
+
+ Sample NGINX Configuration:
+
+ ```
+ location /api/ws {
+ proxy_pass http://127.0.0.1:8080;
+ proxy_http version 1.1;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection "upgrade";
+ proxy_set_header Host $host;
+ proxy_cache_bypass $http_upgrade;
+ }
+ ```
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9