more settings for api
parent
6593ef81ea
commit
cb35ec1f71
|
@ -6,6 +6,8 @@ server {
|
|||
|
||||
root /usr/share/gamewheel/3d-racing;
|
||||
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
add_header Access-Control-Allow-Origin $http_origin;
|
||||
autoindex on;
|
||||
|
|
29
secure.js
29
secure.js
|
@ -71,7 +71,34 @@ var secure = {
|
|||
},
|
||||
api: {
|
||||
port: 3107,
|
||||
debugPort: 3207
|
||||
debugPort: 3207,
|
||||
liveReloadPort: 3407,
|
||||
mongodb: {
|
||||
host: 'mongodb://127.0.0.1',
|
||||
db: 'apidev',
|
||||
port: 27017,
|
||||
shardPort: 27018,
|
||||
options: {
|
||||
db: {
|
||||
native_parser: true
|
||||
},
|
||||
server: {
|
||||
poolSize: 5,
|
||||
keepAlive: 120
|
||||
},
|
||||
user: '',
|
||||
pass: '',
|
||||
autoIndex: false
|
||||
}
|
||||
},
|
||||
mailer: {
|
||||
host: 'localhost',
|
||||
port: 9025,
|
||||
secure: false,
|
||||
debug: true,
|
||||
ignoreTLS: true
|
||||
},
|
||||
sessionKey: 'iJswK29klj20Jos02mJK8ud9239j23'
|
||||
},
|
||||
api_runtime: {
|
||||
port: 3108,
|
||||
|
|
Loading…
Reference in New Issue