Skip to content

Commit ced7450

Browse files
feat(网关http): 直接使用nginx代理的端口
1 parent 5bd6e7c commit ced7450

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jtt808/compose.http.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ services:
22
jtt808:
33
environment:
44
# 网关Http服务
5-
- gateway_http_url=http://${TRACK_HOSTNAME}:${JTT808_PORT_HTTP}/jtt808
5+
- gateway_http_url=http://${TRACK_HOSTNAME}:${WEB_PORT_HTTP}/jtt808

jtt808/compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ services:
3838
# 终端注册服务
3939
- gateway_device-register-url=${WEB_BASE_URL:-http://${MAINTAIN_HOST}:${MAINTAIN_PORT}}
4040
# 网关Http服务
41-
- gateway_http_url=https://${TRACK_HOSTNAME}:${JTT808_PORT_HTTP}}/jtt808
41+
- gateway_http_url=https://${TRACK_HOSTNAME}:${WEB_PORT_HTTPS}}/jtt808
4242

4343
# MongoDB
4444
- spring_data_mongodb_host=${MONGODB_HOST:-mongodb}

0 commit comments

Comments
 (0)