【实验】 安装包编译流程,Nginx代理修复
This commit is contained in:
parent
54e9e8deb9
commit
608f3a9d51
@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
chcp 65001 >nul
|
chcp 65001 >nul
|
||||||
tital Install Redis Server
|
title Install Redis Server
|
||||||
|
|
||||||
:: 检查是否以管理员身份运行
|
:: 检查是否以管理员身份运行
|
||||||
net session >nul 2>&1
|
net session >nul 2>&1
|
||||||
|
@ -15,12 +15,12 @@ server {
|
|||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
# location /login {
|
location /login {
|
||||||
# proxy_pass http://127.0.0.1:28280/login;
|
proxy_pass http://127.0.0.1:28280/login;
|
||||||
# proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
# proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
# }
|
}
|
||||||
|
|
||||||
location /api/ {
|
location /api/ {
|
||||||
proxy_pass http://127.0.0.1:28280/;
|
proxy_pass http://127.0.0.1:28280/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user