colonelp4nic

joined 11 months ago
[–] colonelp4nic 1 points 1 day ago

In your HAProxy config (like in this example), it's checked from top to bottom. So your top-most frontend case should be the one that checks for the special keyword case. Then, if it doesn't match the keyword, HAProxy will continue going down the list until it finds a frontend that does match. So your second frontend should match for everything, because if it doesn't find a match, HAProxy shows an error

[–] colonelp4nic 5 points 1 week ago

They'd better add one of those kill markers to that Bradley

[–] colonelp4nic 2 points 2 weeks ago (3 children)

Cool, I think that first link will work for you. Then you can just 'redirect' for the no-keyword case: https://www.haproxy.com/documentation/haproxy-configuration-tutorials/http-redirects/

Remember, SSL/HTTPS does encrypt the URL path, so if the final website requires HTTPS, your proxy will need to have its certificate trusted by your clients

[–] colonelp4nic 2 points 2 weeks ago* (last edited 2 weeks ago) (5 children)

Maybe have two cases:
For the (matched keyword) case, something like this: https://serverfault.com/questions/729232/reg-exp-for-url-in-haproxy

For the (random routing) case, something like: https://www.haproxy.com/blog/haproxy-configuration-basics-load-balance-your-servers

I am a little confused on your question, though. It sounds like you maybe want 3 cases? Can you try wording it differently?

[–] colonelp4nic 1 points 4 weeks ago (1 children)

Generally unique request IDs have to be generated by the client that sends the request. If the client doesn't generate an ID, you're probably out of luck. That said, do you have information about the client you're expecting to call your Squid cache? One unofficial, but common place for clients to put a request ID is in the header "X-Request-ID"

[–] colonelp4nic 16 points 1 month ago (1 children)

If you feel this enough to come to the comments, there's a good chance you have undiagnosed ADHD (because you cope well enough, but "aren't living up to your potential"). An aspect of ADHD is rejection sensitivity dysphoria, which also applies to "failures" like in this meme. Getting medicated at age 29 has been life changing for me

[–] colonelp4nic 17 points 1 month ago (2 children)

I'm confused, yet inspired

[–] colonelp4nic 8 points 1 month ago (1 children)

I was waiting so long for this release that I gave up a couple of months ago and built from source 😂

[–] colonelp4nic 12 points 1 month ago (4 children)

Sure, that would be a proportional response. But it would probably help Russia in their war against Ukraine because Russia doesn't really have effective GPS guided munitions, but Ukraine does.

[–] colonelp4nic 23 points 2 months ago (1 children)

Being "used to" something and being "ashamed" are mutually exclusive, so I'm having a difficult time understanding your overall point or position

[–] colonelp4nic 1 points 2 months ago

I don't understand why a CEO would lie to me

[–] colonelp4nic 11 points 2 months ago (2 children)

I agree that Telegram has a conflict of interest here, and I also trust Signal WAY more than Telegram. BUT there is at least one good point about reproducible builds. Being able to validate that the code you're running matches the open source code is important. If that can't be done, it's functionally no different than closed source.

view more: next ›