New answers tagged websocket
0
express = require('express');
app = express();
//Use Here https
const http = require('https');
const port = 8080;
const fs = require('fs');
const certificate = {
cert: fs.readFileSync(''),
key: fs.readFileSync('')
}
const httpServer = http.createServer(app,certificate);
var server = require('ws');
var s = new server.Server({ server:httpServer },{
...
Top 50 recent answers are included
Related Tags
websocket × 164nginx × 63
apache-2.4 × 36
reverse-proxy × 31
ssl × 19
node.js × 17
proxy × 16
load-balancing × 12
ubuntu × 9
amazon-web-services × 9
mod-proxy × 8
https × 7
socket.io × 7
php × 6
amazon-ec2 × 6
haproxy × 6
python × 6
tcp × 6
proxypass × 6
linux × 5
amazon-elb × 5
socket × 5
wss × 5
docker × 4
web-server × 4