John Olinda

VICTORY. I finally figured out the issue with Nginx and WordPress image uploads over two megabytes.

Please login to reply
  • netopwibby
    netop:// ウェッブ

    What was the solution?

    • I had to add client_max_body_size 1024m; to the http{} block. I can't believe I hadn't seen that in all the years I've been using WordPress and Nginx.

      • I use client_max_body_size 10m; on both Superthread and Subcafe. I probably have to increase it for Subcafe so people can upload larger photos.

        • Yeah, I haven't settled on a final number yet, I just did that to match my WordPress settings for the moment. But since I do want the ability to upload videos on occasion I'll have to pick something a little higher than normal.