Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to allow socket.io #12

Closed
nomadtechiemike opened this issue Jul 17, 2017 · 2 comments
Closed

not able to allow socket.io #12

nomadtechiemike opened this issue Jul 17, 2017 · 2 comments

Comments

@nomadtechiemike
Copy link

the script works well for everything except socket.io connections I use a specific port and have tried to add my domain name with the port but same error

www.example.com:4044

@bepsvpt
Copy link
Owner

bepsvpt commented Jul 17, 2017

Did you set the config file correctly?

In connect-src directive, it should like the following code

'connect-src' => [
  'allow' => [
    'http://www.example.com:4044',
    'ws://www.example.com:4044',
  ],
],

If you use secure connect, replace http and ws with https and wss

@bepsvpt
Copy link
Owner

bepsvpt commented Aug 16, 2017

Closing due to inactivity. If you have any question, feel free to open a new issue with a reference to this one.

@bepsvpt bepsvpt closed this as completed Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants