Skip to content

Commit

Permalink
alo-11317: Limit amount of concurrent requests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderM91 committed Oct 26, 2023
1 parent 61187a8 commit 462b7b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ server_tokens off;

large_client_header_buffers 4 32k;

http2_max_concurrent_streams 128;
keepalive_requests 700;
limit_conn_zone $binary_remote_addr zone=perip:10m;

{% if assets['compression'] is not empty %}
{% for compressionEngine, compressionData in assets['compression'] %}

Expand Down
1 change: 1 addition & 0 deletions generator/src/templates/nginx/http/server.conf.twig
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ server {
proxy_pass http://{% block upstream %}{{ upstream }}{% endblock upstream %};
}
{% endblock locations %}
limit_conn perip 10;
{% endblock server %}
}

0 comments on commit 462b7b5

Please sign in to comment.