That’s what she said! Okay, okay, here’s how to fix an “entity too large” error with nginx. Add this to your server block:
10M is the size of uploads you want to allow. The default is 2 MB, but as you know people have smartphones that take larger pictures than that now. Just remember you should probably resize them for web display until we all have better download speeds.