nilsuria
nilsuria
RRailway
Created by nilsuria on 8/19/2023 in #✋|help
laravel volume for the image storage
Ok, I'm going to try. Thanks!
13 replies
RRailway
Created by nilsuria on 8/19/2023 in #✋|help
laravel volume for the image storage
But then how I have to configure the storage disk in Laravel? Right now, to upload the image I'm doing: $image->store('public/uploads'). The image can't be saved in /app/<pick_a_name_not_in_use>, since it have to be in the /public/storage folder
13 replies
RRailway
Created by nilsuria on 8/19/2023 in #✋|help
laravel volume for the image storage
/storage/app/public
13 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
I've been trying to do so, but I can't get the correct Dockerfile configuration. The template provided by Railway is missing the Dockerfile: https://github.com/railwayapp-templates/laravel
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
After many changes, I see that the code I added to change the value of 'upload_max_filesize' is not really changing the value in php.ini. How I can modify this value in Railway?
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
9.52.7 to be exact
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
No, I'm runing Laravel 9
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
It worked! But it's still something missing there. I guess now the problem is related to the permissions of the temporary path that nginx uses to store the images.
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
But I cant see how to modify the permissions on this path (/var/lib/nginx/tmp/client_body) as pointed in the answers to the post
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
I see that this could be related to the permissions of the temporary path that nginx is using to store large images as pointed here: https://github.com/laravel/framework/issues/31249
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
Nevertheless, it's still not working as now it's showing the following error: " The "" file does not exist or is not readable."
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
Finally I could change the php.ini configurations adding this code to the web.php file: Route::group(['middleware'=>'custom_middleware'], function () { ini_set('upload_max_filesize', '5000M'); ini_set('post_max_size', '5000M'); });
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
Thanks a lot for the support. This is a point in the right direction, but it's still not uploading the file. I figured out myself that the correct file name is nginx.template.conf and not .config, but now I have this error: "POST Content-Length of 9218627 bytes exceeds the limit of 8388608 bytes". I guess this should be modified in the php.ini file but, again, I can't see where I can modify that in Railway.
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
49a4d477-fb25-4e0e-94a5-120cedd527f2
19 replies