Important Notice: Possible security incident - no detected impact
![](https://beehaw.org/pictrs/image/9eabc017-33f0-4e06-a82f-c1a353cdaa2e.webp)
![](https://beehaw.org/pictrs/image/b101eefc-9ec4-4c03-8913-78a4ebacd206.png)
Between 19:45 UTC and 19:50 UTC, there was a mistake in how information was stored temporarily (cached) on Beehaw. This mistake could have allowed some people to see and use other people's accounts without permission.
If you were using the website during that time, please check that your account settings and email address are still correct. Also, make sure that any posts or actions you made during that time are still connected to your account.
It's important to note that we don't have any proof that this error was actually used by anyone to do anything bad during the short time it happened.
You are viewing a single comment
Was a result of too much fiddling. Attempting to gain even better performance from a bottleneck issue due to recent user influx. It was not an error in the Lemmy instance or Lemmy-UI but rather the web server front-end misconfiguration.
Thanks for working through these issues and improving performance of the website! Very appreciated. I've been tempted recently to create my own Lemmy instance, was this a problem with an nginx configuration option? How much does Beehaw deviate from a standard Lemmy deployment?
Feel free to answer vaguely if you don't feel comfortable with giving away the details : )
Basically, this was
proxy_cache_key
being configured incorrectly. If you don't use theproxy_cache
you should be fine.The only thing we changed from the norm is
ulimit
s and some nginx settings. If we figure out what works well, we'll probably create a post about how to host lemmy. If you stick to the defaults, you'll be mostly fine if your instance isn't as big as Beehaw's.Im also considering to setup nginx caching for lemmy.ml. Did you find a configuration which works?
Not yet. Session tracking in Lemmy is pretty hard to proxy, I'll have to dive into the code to figure out why.
Have a look at this: https://github.com/LemmyNet/lemmy-ansible/pull/75
Sending proper cache-control headers from Lemmy will require some big code changes though.