Skip to content

Commit

Permalink
add proxy timeout options
Browse files Browse the repository at this point in the history
  • Loading branch information
nemd committed Jun 8, 2020
1 parent 4a4ad20 commit 3677156
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ http {
{%- endfor %}
{% endif %}
keepalive_timeout {{ env("KEEPALIVE_TIMEOUT", "65") }};
proxy_read_timeout {{ env("PROXY_READ_TIMEOUT", "60s") }};
proxy_send_timeout {{ env("PROXY_SEND_TIMEOUT", "60s") }};
client_max_body_size {{ env("CLIENT_MAX_BODY_SIZE", "1m") }};
{% if GZIP == 'true' %}
gzip on;
Expand Down

0 comments on commit 3677156

Please sign in to comment.