Skip to content

Conversation

@mdimura
Copy link

@mdimura mdimura commented Sep 5, 2019

No description provided.

proxy_set_header X-Forwarded-Port $server_port;

#allow downloading files >1GB
proxy_buffering off;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WIth this options the include of the yunohost square won't work i think...

Copy link
Contributor

@zamentur zamentur Jun 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
proxy_buffering off;
client_max_body_size 10G;

Copy link
Author

@mdimura mdimura Jun 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case, I suggest considering a larger limit, like 100G, larger than a Blu-ray. I added a new commit.

Apparently proxy_buffering is needed for the yunohost square
@zamentur
Copy link
Contributor

The PR #37 allow the user to specify the limit needed (in order to avoid security issues related to put the value systematically too high).

@zamentur zamentur closed this Jun 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants