Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
更新配置文件不能成功代理后台API接口地址问题 (#149)
Browse files Browse the repository at this point in the history
更新配置文件不能成功代理后台API接口地址问题
  • Loading branch information
zhangangs authored Mar 30, 2024
1 parent 523095e commit ba28c00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions guide/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# 后台接口地址
proxy_pass http://110.110.1.1:8080/api;
rewrite "^/api/(.*)$" /$1 break;
proxy_redirect default;
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Headers X-Requested-With;
Expand Down

0 comments on commit ba28c00

Please sign in to comment.