node-http-server
/config.js.dist/config.js.dist |
---|
@@ -0,0 +1,26 @@ |
module.exports = { |
net: { |
address: 'localhost', |
port: 8070, |
}, |
log: { |
file: 'logs/server.log', |
}, |
auth: { |
paths: [ |
'/admin/' |
], |
realm: 'Wizardry and Steamworks', |
digest: 'auth/htpasswd', |
}, |
site: { |
index: 'index.html', |
name: 'Wizardry and Steamworks', |
}, |
ssl: { |
enable: true, |
privateKeySize: 1024, |
address: 'localhost', |
port: 8080 |
} |
} |