401 on file uploads after switching to HTTP for localhost
working properly before changing to HTTPS
it is failing at
livewire-tmp
upload stage
5 Replies
commenting out this line in FileUploadController.php and FilePreviewController.php fixes the problem, but this doesn't sound good
Have you also changed the app url in the .env?
@igorclauss yes. this issue began when I put laravel behind a caddy proxy in local dev
I've decided to avoid proxy in local dev, so the problem is gone
the proxy was to test MinIO
Sounds like it's generating a bad signature. Or compares it against a domain that still uses http
So you need to trust the proxy, loads on gooogle about this.