this post was submitted on 07 Aug 2023
57 points (96.7% liked)
Lemmy.ca Support / Questions
496 readers
1 users here now
Support / Questions specific to lemmy.ca.
For support / questions related to the lemmy software itself, go to [email protected]
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Probably want == instead else we will all be forbidden
I would have thought so too, but == failed the syntax check
You actually want ~ though because GPTBot is just in the user agent, it's not the full string.
Strangely,
=
works the same as==
with nginx. It's a very strange config format...https://nginx.org/en/docs/http/ngx_http_rewrite_module.html#if
Look at me! I'm the GPTBot now!