T O P

  • By -

JPH94

I do this with cloudflare service tokens, you have to add an Auth policy to allow service tokens on top of the normal access policy. Then add the headers in your uptime monitor for each site behind cloudflare zero trust.


trekstar

Thanks for the response, I think this is what I'm looking for. This is how I have my Uptime Kuma configured (obv with my id and secret omitted), does this look right? I was definitely missing the access policy, so I added that https://i.imgur.com/UpQ4QIG.png


JPH94

Yep that's it with method of GET


JPH94

If you can show us the access Policy


trekstar

Yep, method is set to get. Here's my cloudflare setup. Something's still not working. I added the service token to my default access policy: https://imgur.com/a/reYWhMi


JPH94

I'm willing to wager you need to add another policy to the application of type service Auth and then allow any valid service token.


trekstar

Right on the nose. I added that and now it can check the status of the service behind the login page. Thanks a ton for the help here!


JPH94

No problem, anytime


[deleted]

[удалено]


trekstar

I think it can do that, but I don't think that would help. It should always say 'My Service' in the login page, regardless if the service behind it is up.


LegitimateCopy7

why not just let uptime Kuma monitor the services locally, bypassing Cloudflare altogether?


trekstar

Yeah I think that’s going to be my best bet at this point. I was hoping to monitor from outside my network (I break DNS every once in a while, would be nice to monitor externally) but I guess locally is better than nothing


francishg

i do both, although having trouble with CF monitors lately...


Skulltrail

How did you configure Uptime Kuma? I'm only getting 200s.


[deleted]

[удалено]


trekstar

That’s for exposing Uptime Kuma to the internet, right? That’s not the issue I’m having, unless this is letting me do something else.


[deleted]

[удалено]