laravel 10 website images not opening 404 coming?

╔══════════════════════════════ Nixpacks v1.21.2 ══════════════════════════════╗

║ setup │ php81Extensions.pcntl, php81Extensions.sodium, ║

║ │ (php81.withExtensions (pe: pe.enabled ++ [])), nginx, ║

║ │ libmysqlclient, php81Packages.composer, nodejs18, npm-9x ║

║──────────────────────────────────────────────────────────────────────────────║

║ install │ mkdir -p /var/log/nginx && mkdir -p /var/cache/nginx ║

║ │ composer install --ignore-platform-reqs ║

║ │ npm i ║

║──────────────────────────────────────────────────────────────────────────────║

║ build │ php artisan optimize:clear && php artisan storage:link --force ║

║ │ && php artisan migrate --force && npm run build ║

║──────────────────────────────────────────────────────────────────────────────║

║ start │ node /assets/scripts/prestart.mjs /assets/nginx.template.conf ║

║ │ /nginx.conf && (php-fpm -y /assets/php-fpm.conf & nginx -c ║

║ │ /nginx.conf & php artisan queue:work & php artisan ║

║ │ inertia:start) ║

╚══════════════════════════════════════════════════════════════════════════════╝

INFO The [public/storage] link has been connected to [storagepublic].

3 Replies

venierpinturasHOBBY

a year ago

having the same issue with all photos of my webpage


Please see this website: https://andamanescapades.com/

all images 404 coming


a month ago

It connects to [storagepublic] instead of [storage/app/public]. Has anyone managed to fix this?


laravel 10 website images not opening 404 coming? - Railway Help Station