node-http-server – Blame information for rev 15

Subversion Repositories:
Rev:
Rev Author Line No. Line
15 office 1 // Main configuration file.
7 office 2 module.exports = {
15 office 3 // Network related settings.
7 office 4 net: {
15 office 5 // The address or hostname that the HTTP server will be listening on.
7 office 6 address: 'localhost',
15 office 7 // The port that the HTTP server will be listening on.
7 office 8 port: 8070,
9 },
10 log: {
15 office 11 // The relative path to where to place the server log file.
7 office 12 file: 'logs/server.log',
13 },
15 office 14 // Authentication settings.
7 office 15 auth: {
15 office 16 // The locations that require authentication.
17 locations: [
7 office 18 '/admin/'
19 ],
15 office 20 // The authentication realm.
7 office 21 realm: 'Wizardry and Steamworks',
15 office 22 // The path to the password digset file containing users and passwords.
7 office 23 digest: 'auth/htpasswd',
24 },
25 site: {
15 office 26 // The document index that will be served when a directory is requested.
7 office 27 index: 'index.html',
15 office 28 // The name of the website.
7 office 29 name: 'Wizardry and Steamworks',
30 },
31 ssl: {
15 office 32 // Whether to enable HTTPs through SSL.
7 office 33 enable: true,
15 office 34 // The size of the key to generate for SSL.
7 office 35 privateKeySize: 1024,
15 office 36 // The address or hostname that the HTTPs server will be listening on.
7 office 37 address: 'localhost',
15 office 38 // The port that the HTTPs server will be listening on.
7 office 39 port: 8080
40 }
41 }