Wednesday, April 24, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1817  / 2 Years ago, sat, july 23, 2022, 2:51:41

I need websockets in a project for HTML5 and PHP, but it don´t works.
I read something about that NGINX is not supporting them.



Is there a possibility to install a plugin that brings me the support for that?



greetings


More From » php

 Answers
1

You can use HTML5 websockets with the latest stable Nginx installed, to easily install it use the repositories:



sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
sudo apt-get install nginx


Remember, you have to remove your old nginx, nginx-common and nginx-full packages before installing the new version.



I've already tested proxying websockets ( using socket.io ) on Nginx 1.4.1 and it works fine.


[#33774] Sunday, July 24, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atchcommo

Total Points: 114
Total Questions: 130
Total Answers: 101

Location: Cook Islands
Member since Sat, Oct 16, 2021
3 Years ago
atchcommo questions
Fri, May 13, 22, 08:22, 2 Years ago
Wed, Mar 9, 22, 20:14, 2 Years ago
;