• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Cannot connect to own websocket server when on secured domain

phplaravelwebsocketlaravel-websockets


PHP Snippet 1:

docker run --rm -v $(pwd):/app -w /app --env-file .env php:cli php index.php

PHP Snippet 2:

FROM php:cli
ENV LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT=...
ENV LARAVEL_WEBSOCKETS_SSL_LOCAL_PK=...

Related Snippets

How to convert a carbon into string, to take the date only?

Laravel unique validation on multiple columns

Custom Button next to “ADD TO CART” button of WooCommerce based on Product Type

Not able to access model in the controller mautic

How to set dynamic `home` and `siteurl` in WordPress?

disable two buttons after clicking another button

Laravel + phpunit + github actions = Failed asserting that '1' is identical to 1

json_encode turns array into an object

MySQL default time format UTC or GMT?

How to make a foreign key not using primary key

could not find driver Debian SQL Server PHP

PHP rotate matrix counter-clockwise

PHP to search within txt file and echo the whole line

Handle error for duplicate entries - PHP/MySQL

Generate random username based on full name php

About Contact Privacy policy Terms and conditions