502 Bad Gateway error on big logfiles

I got an issue for the F-Droid Build Status app, it crashes with an OOM when loading the build log of au.com.darkside.xdemo.

Then I was curios how the F-Droid Monitor handles this and I got an 502 Bad Gateway error when opening the logfile: https://monitor.f-droid.org/builds/log/au.com.darkside.xdemo/31

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information