F
Filament7mo ago
Samvel

livewire/update 404 error

Hello everyone Im trying to deploy my app on production server and ran into the issue with authorizing on my Filament admin panel. I have absolutely no idea what is wrong because the only thing I have is 404 nginx error. It works good on my local machine. All I find out: 1 - I have normally linked storage ( I can access to files, like https://my-domain/filament/app.css) 2 - I have normally published assets on my public/vendor folder ( I can access directly https://my-domain/livewire/livewire.js for example) 3 - I have route /livewire/update in the list when a run php artisan route:list Environment: - ubuntu 22.10 server - php 8.2 - laravel - filament 3 - nginx Everything looks good but it doesn't work The only thing I can attach to this message is error code from browser so I decided to ask without non-informative screen shot. Any help appreciated ❤️
2 Replies
FL
FL7mo ago
Could be a bunch of things, maybe check nginx logs and see where it is looking for the index.php. Also could be that you don't have nginx configured properly for laravel. Also could be that the files on the server don't have correct ownership/permissions set up. Less likely that nginx is pointing to root of the application instead of /public Without more info no one would be able to help you.
Samvel
SamvelOP7mo ago
I have many routes on my laravel app and all of them work except this one. Probably nginx configured not properly. Which part of nginx configuration can I show for more info?
Want results from more Discord servers?
Add your server