socket.php 673 B

123456789101112131415161718192021222324252627
  1. <?php
  2. return [
  3. /*
  4. * $httpHost HTTP hostname clients intend to connect to.
  5. * MUST match JS `new WebSocket('ws://$httpHost')`.
  6. */
  7. 'httpHost' => env('SOCKET_HTTP_HOST', 'localhost'),
  8. /*
  9. * Port to listen on. If 80, assuming production,
  10. * Flash on 843 otherwise expecting Flash to be proxied through 8843
  11. */
  12. 'port' => env('SOCKET_PORT', '8080'),
  13. /*
  14. * Public port for Nginx
  15. */
  16. 'public_port' => env('SOCKET_PUBLIC_PORT', '443'),
  17. /*
  18. * IP address to bind to. Default is localhost/proxy only.
  19. * `0.0.0.0` for any machine.
  20. */
  21. 'address' => env('SOCKET_ADDRESS', '127.0.0.1'),
  22. ];