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; 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$ { location ~ \.php$ {
fastcgi_pass 127.0.0.1:9001; fastcgi_pass 127.0.0.1:9001;

View File

@ -4,14 +4,14 @@ server {
server_name app.gamewheel.local; server_name app.gamewheel.local;
root /usr/share/gamewheel/gw-app; root /usr/share/gamewheel/gw-app/dist;
location / { location / {
proxy_pass_request_headers on; proxy_pass_request_headers on;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true; 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_ssl_session_reuse off;
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
proxy_redirect off; proxy_redirect off;

View File

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

View File

@ -1,11 +1,9 @@
var secure = { var secure = {
vr_pong: { vr_pong: {
url: "http://pong.gamewheel.local",
port: 3101, port: 3101,
debugPort: 3201 debugPort: 3201
}, },
vr_racer: { vr_racer: {
url: "http://racer.gamewheel.local",
port: 3102, port: 3102,
debugPort: 3202 debugPort: 3202
}, },
@ -49,11 +47,12 @@ var secure = {
tools: { tools: {
port: 3105, port: 3105,
debugPort: 3205, debugPort: 3205,
liveReloadPort: 3405,
mysqlUserExport: { mysqlUserExport: {
host: "gwdb.cpuanrat3vd1.eu-central-1.rds.amazonaws.com", host: "127.0.0.1",
port: 3306, port: 3306,
user: "root", user: "root",
password: "5t0bURlq", password: "",
database: "gw_core" database: "gw_core"
}, },
mongoUserImport: { mongoUserImport: {
@ -67,22 +66,49 @@ var secure = {
}, },
app: { app: {
port: 3106, port: 3106,
debugPort: 3206 debugPort: 3206,
liveReloadPort: 3406
}, },
api: { api: {
port: 3107, port: 3107,
debugPort: 3207 debugPort: 3207
}, },
old_api_runtime: { api_runtime: {
port: 3108, 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: { statistics: {
port: 3109, port: 3109,
debugPort: 3209, debugPort: 3209,
mongodb : { liveReloadPort: 3409,
host : 'mongodb://172.31.12.120', mongodb: {
db : 'statistic' host: 'mongodb://127.0.0.1',
db: 'statistic'
} }
}, },
port: { port: {