revert default ports
This commit is contained in:
parent
f70f3cb390
commit
994eb7d54c
|
@ -17,9 +17,10 @@ var workers = [];
|
||||||
var caddypath = '/usr/local/bin/caddy';
|
var caddypath = '/usr/local/bin/caddy';
|
||||||
var useCaddy = require('fs').existsSync(caddypath);
|
var useCaddy = require('fs').existsSync(caddypath);
|
||||||
var conf = {
|
var conf = {
|
||||||
localPort: process.argv[2] || (useCaddy ? 4080 : 6443) // system / local network
|
localPort: process.argv[2] || (useCaddy ? 4080 : 443) // system / local network
|
||||||
, insecurePort: process.argv[3] || (useCaddy ? 80 : 65080) // meh
|
, insecurePort: process.argv[3] || (useCaddy ? 80 : 80) // meh
|
||||||
, externalPort: 443 // world accessible
|
, externalPort: 443 // world accessible
|
||||||
|
, externalPortInsecure: 80 // world accessible
|
||||||
// TODO externalInsecurePort?
|
// TODO externalInsecurePort?
|
||||||
, locked: false // TODO XXX
|
, locked: false // TODO XXX
|
||||||
, ipcKey: null
|
, ipcKey: null
|
||||||
|
|
Loading…
Reference in New Issue