Skip to content

Commit 35fd320

Browse files
committed
docs: nginx config for backend
1 parent 5e411ed commit 35fd320

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/docsify/zh-cn/guide/代理服务.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,14 @@ proxy_set_header X-Real-IP $remote_addr; # 获取客户端真实ip
8282
8383
# 标签引擎代理
8484
location /api/v1 {
85-
proxy_pass http://doraemon/proxy/49; # doraemon
85+
proxy_max_temp_file_size 0k;
86+
fastcgi_buffers 32 8k;
87+
proxy_http_version 1.1;
88+
proxy_set_header X-Real-IP $remote_addr;
89+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
90+
proxy_set_header Host $host;
91+
#proxy_pass http://real-tag;
92+
proxy_pass http://172.16.100.225:7001/proxy/298/api/v1;
8693
}
8794
```
8895

0 commit comments

Comments
 (0)