svenstaro / miniserve

🌟 For when you really just want to serve some files over HTTP right now!
MIT License
5.95k stars 289 forks source link

Add healthcheck route #1435

Open winston0410 opened 2 months ago

winston0410 commented 2 months ago

At the moment, there is no healthcheck route for miniserve server, which is crucial for setting up a readiness probes and an liveness probe in K8S.

Using / as healthcheck alternative would not work, as we cannot set auth for healthcheck in K8S.

svenstaro commented 2 months ago

I agree this would be nice to have. Would you like to add this? Should be fairly straight-forward.