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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved How to increase file upload size ?

    Discourse
    2
    7
    276
    Loading More Posts
    • 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
      freetommy last edited by 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

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @freetommy last edited by

        @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 Reply Quote 0
        • F
          freetommy @girish last edited by

          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).

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @freetommy last edited by

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

            F 2 Replies Last reply Reply Quote 1
            • Topic has been marked as a question  nebulon nebulon 
            • F
              freetommy @girish last edited by

              @girish it works fine !
              thanks you !

              1 Reply Last reply Reply Quote 1
              • Topic has been marked as solved  nebulon nebulon 
              • F
                freetommy @girish last edited by

                @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 ?

                girish 1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff @freetommy last edited by

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

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post
                  Powered by NodeBB