serversideup / docker-php

🐳 Production-ready Docker images for PHP. Optimized for Laravel, WordPress, and more!
https://serversideup.net/open-source/docker-php/
GNU General Public License v3.0
1.67k stars 109 forks source link

Set default NGINX values for "fastcgi_buffers" and "fastcgi_buffer_size" #305

Closed jaydrogers closed 5 months ago

jaydrogers commented 5 months ago

Fixes

What this PR does

Why these values were set

This is the larger number of the NGINX defaults, which seemed to fix the issue with InertiaJS.

bretto36 commented 3 months ago

Can these be changed into configurable options? Currently we have to replace them using a sed call in the Docker file

We use InertiaJS and it sends a bunch of extra headers which keep blocking nginx

@jaydrogers