https 3 fix
This commit is contained in:
parent
40cc2c1b0a
commit
0a4e3d0fd9
@ -13,8 +13,8 @@ wss.on('connection', function connection(ws) {
|
||||
});
|
||||
|
||||
var server = https.createServer({
|
||||
cert: fs.readFileSync('/etc/letsencrypt/live/atcheck.projektstudencki.pl/fullchain.pem'),
|
||||
key: fs.readFileSync('/etc/letsencrypt/live/atcheck.projektstudencki.pl/key.pem')
|
||||
cert: fs.readFileSync('/etc/letsencrypt/live/atcheck.projektstudencki.pl/cert.pem'),
|
||||
key: fs.readFileSync('/etc/letsencrypt/live/atcheck.projektstudencki.pl/privkey.pem')
|
||||
}, function (request, response) {
|
||||
response.writeHead(200, {"Content-Type": "text\plain"});
|
||||
request.setEncoding('utf8');
|
||||
|
Loading…
Reference in New Issue
Block a user