Mystery Incorporated

Mystery Incorporated

08/01/2021, 4:44 AM
Hello, inspecting this nginx configurationĀ https://raw.githubusercontent.com/CptOfEvilMinions/FleetDM-Automation/main/conf/ansible/nginx/nginx_fleetdm.conf, I can see a lot of kolide API paths, are they going to remain these paths or will/have they changed?
4:46 AM
I think I answer my own question, I gete 404 not found for /api/v1/kolide/results/ and I get welcome to SockJS! for /api/v1/fleet/results/ so I guess has been renamed!
5:30 AM
But still nginx totally breaks everything for me. Does Fleetdm have a refrence nginx config they can share?


08/01/2021, 8:03 PM
Kolide api endpoints were deprecated somewhere around 3.4, and removed in 4.0. This is a good reference for nginx: https://defensivedepth.com/2020/04/02/kolide-fleet-breaking-out-the-osquery-api-web-ui/
Mystery Incorporated

Mystery Incorporated

08/09/2021, 1:34 AM
Thanks @zwass, I notice the nginx config in that article is using
for host enrolment which I suspect has been deprecated with the other kolide paths. Is there a doco or something that lists out all the API routes or something like that? Anything that we can use to build an nginx config?