Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update huly.nginx. Increased file upload size #40

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sergeyph
Copy link
Contributor

@sergeyph sergeyph commented Oct 3, 2024

No description provided.

@@ -1,6 +1,8 @@
server {
listen 80;
server_name _;
client_max_body_size 100M;
Copy link

@egavrilov egavrilov Oct 6, 2024

Choose a reason for hiding this comment

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

Suggested change
client_max_body_size 100M;
client_max_body_size 0;

Might be even better to lift client_max_body_size and control it through the outer reverse proxy or host configuration, what do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I use nginx as reverse proxy - so there is Huly and nginx in front. Had problems with attaching files to issues in Huly and increased the client_max_body_size

Choose a reason for hiding this comment

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

Might be even better to lift client_max_body_size and control it through the outer reverse proxy or host configuration, what do you think?

Agree, if huly could control on own side (not checked yet, just started reading the docs)

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.

3 participants