Skip to content

Reverb does not respect REVERB_SERVER_PATH #361

@jobs-git

Description

@jobs-git

Reverb Version

v1.6.0

Laravel Version

12

PHP Version

8.4.14

Description

Setting REVERB_SERVER_PATH=value in env does not replace the default http://host/app to http://host/value

Steps To Reproduce

  1. setup reverb behind nginx by following: https://laravel.com/docs/12.x/reverb
  2. ensure that the client can communicate to http://host/app/.... via websocket
  3. attempt to replace REVERB_SERVER_PATH=value in .env
  4. restart reverb
  5. restart nginx
  6. test the client
  7. observe that without any change in the client it still happily connect in the /app path
  8. update the path where client connect
  9. test then you will get the connection to path was not upgraded to websocket,
  10. update nginx location with the desired path
  11. restart nginx
  12. test again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions