Always when I deploy a new Laravel project using Inertia + vue I get a 502 error on the site. This is because Inertia tries to send a certain header that is too big for the default Nginx config that ploi provides. So I have to add this line: "fastcgi_buffer_size 32k;" in the site's config, in the location ~ \.php$ block.
Because I do not deploy a new Inertia site daily I'm always searching for the bug because I forgot. I could imagine that other people also could run into this issue. Could we maybe add this to the default Nginx config for a site?
-
Lucas de Jong moved item to project Servers
1 hour ago -
Lucas de Jong created the item
1 hour ago