-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.js
35 lines (26 loc) · 1.35 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Cisco SIP Config Server
// Application Configuration
// Modify acordingly
var config = {};
config.tftp = {};
// Do not modify above lines
// The port to listen on, typiclly should be above 1000 as you need to run the server as root to go below 1000
// We recomend setting up a nginx proxy if you need to listen on port 80 or want SSL encryption
// Default: 3000
config.webport = 3000;
// Session secret, keep this private and change it before use, if left default then we will randomly generate a secret which will
// deauth users on server restart due to changing secret
config.secret = "23456tgfdswertyuikmnbiuyuhyui8kjfdiqvwuikkftryhuyg3urio43pjre7dsatyu9iofk63wudq98r43yt78iur873";
// === TFTP ====
// Enable built in TFTP server. In some rare instances you might want to bypass the built in TFTP server for a standalone one
// We recomend you stick with the built in server
// Default: ture
config.tftp.enable = true;
// TFTP Path. if you would like to relocate the folder that the built in TFTP server and configs are saved then feel free to modify
// NOTE: this path must be writeble by the user executing the server, for ease of setup we recomend staying with Default
// You should really only change this if using an external TFTP server
// Default: ./tftpboot
config.tftp.path = "./tftpboot";
// That's all
// Do not modify below this line
module.exports = config;