Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discourse
  3. How to increase file upload size ?

How to increase file upload size ?

Scheduled Pinned Locked Moved Solved Discourse
7 Posts 2 Posters 1.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    freetommy
    wrote on last edited by freetommy
    #1

    How to increase file upload size ?

    I read
    https://meta.discourse.org/t/changing-max-attachment-size/26435

    and,
    I don't know, how to set cloudron nginx proxy conf to increase upload file size.

    11ba8fd6-2ec7-4c7e-b3c9-4e6ab5ff122c-image.png

    girishG 1 Reply Last reply
    0
    • F freetommy

      How to increase file upload size ?

      I read
      https://meta.discourse.org/t/changing-max-attachment-size/26435

      and,
      I don't know, how to set cloudron nginx proxy conf to increase upload file size.

      11ba8fd6-2ec7-4c7e-b3c9-4e6ab5ff122c-image.png

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @freetommy client_max_body_size is set to 0 (unlimited) when proxying to apps. This means that apps control what the max size is. Why are you facing any issues when uploading large files?

      F 1 Reply Last reply
      0
      • girishG girish

        @freetommy client_max_body_size is set to 0 (unlimited) when proxying to apps. This means that apps control what the max size is. Why are you facing any issues when uploading large files?

        F Offline
        F Offline
        freetommy
        wrote on last edited by
        #3

        bb98b2ac-cf11-4144-86a0-deef991783c4-image.png

        set max attachment size 102400 on discourse admin panel UI.
        then, restart discourse app.
        I try upload file (size 18M).

        girishG 1 Reply Last reply
        0
        • F freetommy

          bb98b2ac-cf11-4144-86a0-deef991783c4-image.png

          set max attachment size 102400 on discourse admin panel UI.
          then, restart discourse app.
          I try upload file (size 18M).

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @freetommy I have pushed an update now to fix this. Can you please try?

          F 2 Replies Last reply
          1
          • nebulonN nebulon marked this topic as a question on
          • girishG girish

            @freetommy I have pushed an update now to fix this. Can you please try?

            F Offline
            F Offline
            freetommy
            wrote on last edited by
            #5

            @girish it works fine !
            thanks you !

            1 Reply Last reply
            1
            • nebulonN nebulon has marked this topic as solved on
            • girishG girish

              @freetommy I have pushed an update now to fix this. Can you please try?

              F Offline
              F Offline
              freetommy
              wrote on last edited by
              #6

              @girish
              Hi, I just try to upload 1GB file (this values is max values at max attachment size kb in discourse setting).
              100MB is solved. but, 1GB have issue.
              Would you please check again ?

              girishG 1 Reply Last reply
              0
              • F freetommy

                @girish
                Hi, I just try to upload 1GB file (this values is max values at max attachment size kb in discourse setting).
                100MB is solved. but, 1GB have issue.
                Would you please check again ?

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                @freetommy Are you behind cloudflare by any chance? IIRC, they have a 100MB upload limit.

                1 Reply Last reply
                1
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search