Skip to content

Commit

Permalink
SUPESC-907 reduced the buffer config to yves only
Browse files Browse the repository at this point in the history
  • Loading branch information
limeeugenia committed Nov 11, 2024
1 parent 352e372 commit 4519520
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
location ~ \.php$ {
include fastcgi.conf;

fastcgi_buffer_size 4k;
fastcgi_buffers 16 64k;
fastcgi_busy_buffers_size 128k;

{# Variable is necessary for https://www.nginx.com/blog/dns-service-discovery-nginx-plus/#domain-name-upstream-group #}
set $upstream "{{ upstream }}";
fastcgi_pass "$upstream";
Expand Down
3 changes: 3 additions & 0 deletions generator/src/templates/nginx/http/yves.server.conf.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
{% include "nginx/vhost.d/timeouts.conf.twig" with { timeout: timeout | default('1m') } %}
{% endblock server %}
{% block location %}
fastcgi_buffer_size 4k;
fastcgi_buffers 16 64k;
fastcgi_busy_buffers_size 128k;
{{ parent() }}
fastcgi_param SPRYKER_ZED_HOST "{{ (zedHost | split(':'))[0] | default('') }}";
fastcgi_param SPRYKER_ZED_PORT "{{ (zedHost | split(':'))[1] | default(project['_defaultPort']) }}";
Expand Down

0 comments on commit 4519520

Please sign in to comment.