customisation statusCheck according to HTTP response #448
-
In my Homelab I'm using Authelia as SSO. Is there a way to add a "rule" saying 401=>Green ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
This should be possible, I guess a new parameter would need to be passed to the status check server with accepted status codes, then if the request fails, the status code is looked at and if within accepted range it should return a pass. Seems doable 🤔 I've opened a ticked for this in #456 :) |
Beta Was this translation helpful? Give feedback.
-
Heya @louisonsarlinmagnus |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for all the work you've done 😍 !!! |
Beta Was this translation helpful? Give feedback.
Heya @louisonsarlinmagnus
I've implemented this in #451 and it's now released in 2.0.0 :) Lemme know what you think!
So you can use
statusCheckAcceptCodes
to specify allow codes, as outlined in the Docs.If you're enjoying Dashy, please consider Staring the repo, or Contributing to the project :)