From 7229037752cda798e99d42a71caedcb309b57d88 Mon Sep 17 00:00:00 2001 From: Richard Bowen Date: Fri, 15 Nov 2024 15:27:07 -0500 Subject: [PATCH] Update laravel.mdx Add fastcgi_pass to the "Increasing the NGINX buffer size for Inertia requests" section to remove uncertainty as to whether it should be there or not. I hit this issue while installing a Laravel app and the result was a .dms file being download when navigation to the site URL. --- src/content/docs/applications/laravel.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/docs/applications/laravel.mdx b/src/content/docs/applications/laravel.mdx index e7a8c0b..92d0d69 100644 --- a/src/content/docs/applications/laravel.mdx +++ b/src/content/docs/applications/laravel.mdx @@ -246,6 +246,7 @@ http { server { # ... location ~ \.php$ { + fastcgi_pass 127.0.0.1:9000; + fastcgi_buffer_size 8k; fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; include $!{nginx}/conf/fastcgi_params;