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/;