Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
raven-administration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raven
raven-administration
Commits
7e8c9b8f
Commit
7e8c9b8f
authored
2 years ago
by
Christoffer Stoll
Browse files
Options
Downloads
Patches
Plain Diff
add: extended timeout for long running requests to 10 min
parent
8b202dbf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile.api
+1
-1
1 addition, 1 deletion
Dockerfile.api
nginx/nginx.conf
+5
-11
5 additions, 11 deletions
nginx/nginx.conf
with
6 additions
and
12 deletions
Dockerfile.api
+
1
−
1
View file @
7e8c9b8f
...
...
@@ -7,4 +7,4 @@ RUN pip install -r requirements.txt
COPY api/ ./
ENV PYTHONUNBUFFERED=1
EXPOSE 5000
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app"]
\ No newline at end of file
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--timeout", "600", "app:app"]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
nginx/nginx.conf
+
5
−
11
View file @
7e8c9b8f
...
...
@@ -22,10 +22,10 @@ http {
## SETTINGS ##
keepalive_timeout
5
;
client_max_body_size
4G
;
#
proxy_read_timeout
3
00;
#
proxy_connect_timeout
3
00;
#
proxy_send_timeout
3
00;
client_max_body_size
4G
;
proxy_read_timeout
6
00
;
proxy_connect_timeout
6
00
;
proxy_send_timeout
6
00
;
## GZIP ##
gzip
on
;
...
...
@@ -70,12 +70,6 @@ http {
proxy_set_header
Host
$http_host
;
proxy_redirect
off
;
proxy_pass
http://api
;
}
error_page
500
502
503
504
/50x.html
;
location
=
/50x.html
{
root
/usr/share/nginx/html
;
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment