From 7fc84cfcb192932d2f06997cbb2f05b2e85e22a5 Mon Sep 17 00:00:00 2001 From: cheetah Date: Mon, 12 Dec 2022 23:37:22 +0100 Subject: [PATCH] changed port --- index.js | 2 +- nginx_site.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 87555ba..d26d94d 100644 --- a/index.js +++ b/index.js @@ -6,4 +6,4 @@ appConfig.use(express.static(__dirname + '/node_modules/@mdi/font')) /** CONFIG Routes */ -appConfig.listen(3080, '0.0.0.0' || config.host || '127.0.0.1') +appConfig.listen(3250, '0.0.0.0' || config.host || '127.0.0.1') diff --git a/nginx_site.cfg b/nginx_site.cfg index 1b61895..c49faf1 100644 --- a/nginx_site.cfg +++ b/nginx_site.cfg @@ -1,7 +1,7 @@ server { listen 80; server_name smartpager.network; - location / { proxy_pass http://127.0.0.1:3080; } + location / { proxy_pass http://127.0.0.1:3250; } location /disp_main/ { proxy_pass http://127.0.0.1:3000/; } location /disp_cfg/ { proxy_pass http://127.0.0.1:3001/; } location /msg-dwd_cfg/ { proxy_pass http://127.0.0.1:3050/; }