Skip to content

Commit 0eda02d

Browse files
committed
Merge server.js and localserver.js.
1 parent 857070a commit 0eda02d

File tree

3 files changed

+68
-240
lines changed

3 files changed

+68
-240
lines changed

coder-base/config.js

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11

22
exports.listenIP = null; //Defaults to *
3-
exports.listenPort = 8081; //the SSL port things run on
4-
exports.httpListenPort = 8080; //this will all be redirected to SSL
53
exports.cacheApps = true;
4+
5+
exports.httpListenPort = 8080; //this will all be redirected to SSL
6+
exports.httpslistenPort = 8081; //the SSL port things run on
7+
68
exports.httpVisiblePort = 80; //forwarded http port the user sees
79
exports.httpsVisiblePort = 443; //forwarded https port the user sees
810

911

1012
//SSL Info
11-
exports.country = "US";
12-
exports.state = "New York";
13-
exports.locale = "New York";
14-
exports.commonName = "coder.local";
15-
exports.subjectAltName = "DNS:192.168.0.1";
13+
exports.ssl = {}
14+
exports.ssl.enable = true
15+
exports.ssl.country = "US";
16+
exports.ssl.state = "New York";
17+
exports.ssl.locale = "New York";
18+
exports.ssl.commonName = "coder.local";
19+
exports.ssl.subjectAltName = "DNS:192.168.0.1";
1620

1721

1822
//Experimental

coder-base/localserver.js

Lines changed: 0 additions & 178 deletions
This file was deleted.

0 commit comments

Comments
 (0)