change port to 4080 and 4443
This commit is contained in:
parent
e13dcdcb8b
commit
e1df08d0cf
7
app.js
7
app.js
@ -8,8 +8,8 @@ const https = require('https');
|
||||
const fs = require('fs');
|
||||
|
||||
const hostname = 'petrov.nexus';
|
||||
const httpPort = 80;
|
||||
const httpsPort = 443;
|
||||
const httpPort = 4080;
|
||||
const httpsPort = 4443;
|
||||
|
||||
const httpsOptions = {
|
||||
key: fs.readFileSync('./archive/server.key'),
|
||||
@ -102,7 +102,4 @@ httpsServer.listen(httpsPort, () => {
|
||||
console.log(`Server running at https://${hostname}:${httpsPort}/`);
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
module.exports = app;
|
Loading…
x
Reference in New Issue
Block a user