fixed configs

beta.r3js.org
Theunis J. Botha 2016-11-08 18:30:09 +01:00
parent 687427a7ff
commit 6593ef81ea
4 changed files with 53 additions and 23 deletions

View File

@ -4,7 +4,7 @@ server {
server_name 3d-editor.gamewheel.local 3d-editor-debug.gamewheel.local;
root /usr/share/gamewheel/3d-editor;
root /usr/share/gamewheel/gw_3d_editor;
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9001;

View File

@ -4,16 +4,16 @@ server {
server_name app.gamewheel.local;
root /usr/share/gamewheel/gw-app;
root /usr/share/gamewheel/gw-app/dist;
location / {
proxy_pass_request_headers on;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://127.0.0.1:3104;
proxy_pass http://127.0.0.1:3106;
proxy_ssl_session_reuse off;
proxy_set_header Host $http_host;
proxy_redirect off;
}
}
}

View File

@ -25,22 +25,26 @@ var config = {
subAccount: 'root'
}
},
app : {
app: {
url: 'http://app.gamewheel.local'
},
api : {
url : 'http://api.gamewheel.local'
api: {
url: 'http://api.gamewheel.local'
},
old_api_runtime : {
url : 'http://api-runtime.gamewheel.local'
api_runtime: {
url: 'http://api-runtime.gamewheel.local',
version: "1.0.0"
},
statistics : {
url : 'http://api-runtime.gamewheel.local'
masker: {
url: 'http://masker.gamewheel.local'
},
port : {
statistics: {
url: 'http://api-runtime.gamewheel.local'
},
port: {
url: 'http://port.gamewheel.local'
},
gate : {
gate: {
url: 'http://gate.gamewheel.local'
},
environment: {

View File

@ -1,11 +1,9 @@
var secure = {
vr_pong: {
url: "http://pong.gamewheel.local",
port: 3101,
debugPort: 3201
},
vr_racer: {
url: "http://racer.gamewheel.local",
port: 3102,
debugPort: 3202
},
@ -49,11 +47,12 @@ var secure = {
tools: {
port: 3105,
debugPort: 3205,
liveReloadPort: 3405,
mysqlUserExport: {
host: "gwdb.cpuanrat3vd1.eu-central-1.rds.amazonaws.com",
host: "127.0.0.1",
port: 3306,
user: "root",
password: "5t0bURlq",
password: "",
database: "gw_core"
},
mongoUserImport: {
@ -67,22 +66,49 @@ var secure = {
},
app: {
port: 3106,
debugPort: 3206
debugPort: 3206,
liveReloadPort: 3406
},
api: {
port: 3107,
debugPort: 3207
},
old_api_runtime: {
api_runtime: {
port: 3108,
debugPort: 3208
debugPort: 3208,
liveReloadPort: 3408,
cors: true,
cluster: false,
auth: {
secret: "xDKsyQm2F52Y9hfqv7yG80tu1wv90zkH",
token_duration: 86400000,
api_key: "gw_rocks",
admin: {
email: "admin@gamewheel.com",
password: "gw_config_api_rocks"
}
},
db: {
type: "mysql",
host: "127.0.0.1",
port: 3306,
database: "gw_core",
user: "root",
password: "",
max_connections: 10
},
game_session_timeout: 180000
},
masker: {
auth_key: "gw_masker_rocks"
},
statistics: {
port: 3109,
debugPort: 3209,
mongodb : {
host : 'mongodb://172.31.12.120',
db : 'statistic'
liveReloadPort: 3409,
mongodb: {
host: 'mongodb://127.0.0.1',
db: 'statistic'
}
},
port: {