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

Set the nginx timeout value #125

Open
decko opened this issue Jul 4, 2023 · 1 comment
Open

Set the nginx timeout value #125

decko opened this issue Jul 4, 2023 · 1 comment

Comments

@decko
Copy link
Member

decko commented Jul 4, 2023

When users want to change the gunicorn timeout, they can set the PULP_GUNICORN_TIMEOUT to a value of its choice.
But this only works when you set it to a value less than 60 seconds. After that, the application doesn't increase its timeout.

The reason is that we need to set the same value to nginx itself, since it's a proxy between gunicorn and the client.

@stbergmann
Copy link

(What worked around it for me now is to do in an oci-env shell: Create /etc/nginx/pulp/timeout.conf containing

proxy_read_timeout 1d;
proxy_send_timeout 1d;

and then s6-svc -r /run/service/nginx.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Needs review
Development

Successfully merging a pull request may close this issue.

2 participants