Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

legreco's avatar

BROADCAST AUTH ROUTE WITH DIFFERENT BASE URL

Hello, I am using Laravel 5.4 and pusher. I have a problem with the broadcast auth route since i deploy my application on server. I get this error: POST http://10.15.66.9:9090/broadcasting/auth 404 (Not Found) My application base url on server is http://10.15.66.9:9090/myapp/public/

in .env file: APP_URL=http://10.15.66.9:9090/myapp/public

in app.php

'url' => env('APP_URL', ''),

but pusher is still posting to http://10.15.66.9:9090/broadcasting/auth

Can anyone help me?

0 likes
3 replies
dr3's avatar

This doesn't work for me. I have the same issue right now after I deploy my project to AWS ubuntu server.

1 like

Please or to participate in this conversation.