From 608f3a9d5101963ca6eb332972ff64e9a12855a1 Mon Sep 17 00:00:00 2001 From: yuejiajun <1530620364@qq.com> Date: Sun, 17 Aug 2025 14:16:32 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=9E=E9=AA=8C=E3=80=91=20?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E5=8C=85=E7=BC=96=E8=AF=91=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=EF=BC=8CNginx=E4=BB=A3=E7=90=86=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/Resources/redis/install_redis.bat | 2 +- .../Resources/web/conf/simulation-windows.conf | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/base/Resources/redis/install_redis.bat b/base/Resources/redis/install_redis.bat index 5099490..c21868f 100644 --- a/base/Resources/redis/install_redis.bat +++ b/base/Resources/redis/install_redis.bat @@ -1,6 +1,6 @@ @echo off chcp 65001 >nul -tital Install Redis Server +title Install Redis Server :: 检查是否以管理员身份运行 net session >nul 2>&1 diff --git a/server/simulation/Resources/web/conf/simulation-windows.conf b/server/simulation/Resources/web/conf/simulation-windows.conf index 093d57c..0bf9566 100644 --- a/server/simulation/Resources/web/conf/simulation-windows.conf +++ b/server/simulation/Resources/web/conf/simulation-windows.conf @@ -15,12 +15,12 @@ server { try_files $uri $uri/ /index.html; } - # location /login { - # proxy_pass http://127.0.0.1:28280/login; - # proxy_set_header Host $host; - # proxy_set_header X-Real-IP $remote_addr; - # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - # } + location /login { + proxy_pass http://127.0.0.1:28280/login; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } location /api/ { proxy_pass http://127.0.0.1:28280/;