配置:修改host为域名

This commit is contained in:
luying
2022-01-04 19:33:26 +08:00
parent 0508077e44
commit b5ca618cef
5 changed files with 190 additions and 9 deletions
+6 -6
View File
@@ -247,9 +247,9 @@ module.exports = {
},
'sq1': {
'connector': [
{ 'id': 'connector-server-1', 'port': 4050, 'clientHost': '8.142.77.11', 'host': '172.16.4.108', 'clientPort': 3050, 'frontend': true },
{ 'id': 'connector-server-2', 'port': 4051, 'clientHost': '8.142.77.11', 'host': '172.16.4.108', 'clientPort': 3051, 'frontend': true },
{ 'id': 'connector-server-3', 'port': 4052, 'clientHost': '8.142.77.11', 'host': '172.16.4.108', 'clientPort': 3052, 'frontend': true },
{ 'id': 'connector-server-1', 'port': 4050, 'clientHost': 'sq1-game1-sgzyz.37wan.com', 'host': '172.16.4.108', 'clientPort': 3050, 'frontend': true },
{ 'id': 'connector-server-2', 'port': 4051, 'clientHost': 'sq1-game1-sgzyz.37wan.com', 'host': '172.16.4.108', 'clientPort': 3051, 'frontend': true },
{ 'id': 'connector-server-3', 'port': 4052, 'clientHost': 'sq1-game1-sgzyz.37wan.com', 'host': '172.16.4.108', 'clientPort': 3052, 'frontend': true },
],
'chat': [
{ 'id': 'chat-server-1', 'host': '172.16.4.108', 'port': 6050 },
@@ -263,8 +263,8 @@ module.exports = {
{ 'id': 'battle-server-1', 'host': '172.16.4.108', 'port': 6054 }
],
'gate': [
{ 'id': 'gate-server-1', 'host': '172.16.4.108', 'clientHost': '8.142.77.11', 'clientPort': 3014, 'frontend': true },
{ 'id': 'gate-server-2', 'host': '172.16.4.108', 'clientHost': '8.142.77.11', 'clientPort': 3015, 'frontend': true }
{ 'id': 'gate-server-1', 'host': '172.16.4.108', 'clientHost': 'sq1-game1-sgzyz.37wan.com', 'clientPort': 3014, 'frontend': true },
{ 'id': 'gate-server-2', 'host': '172.16.4.108', 'clientHost': 'sq1-game1-sgzyz.37wan.com', 'clientPort': 3015, 'frontend': true }
],
'gm': [
{ 'id': 'gm-server-1', 'host': '172.16.4.108', 'port': 6055 }
@@ -285,7 +285,7 @@ module.exports = {
},
'sq2': {
'connector': [
{ 'id': 'connector-server-gm', 'port': 4099, 'clientHost': '39.103.207.209', 'host': '172.16.4.108', 'clientPort': 3099, 'frontend': true, 'isGM': true }
{ 'id': 'connector-server-gm', 'port': 4099, 'clientHost': 'gm-sgzyz.37wan.com', 'host': '172.16.4.108', 'clientPort': 3099, 'frontend': true, 'isGM': 'true' }
],
},
};