22301102 | b1fd8fd | 2025-06-05 18:02:21 +0800 | [diff] [blame] | 1 | server { |
2 | listen 80; | ||||
3 | server_name team12.10813352.xyz; # 替换为你的域名 | ||||
4 | |||||
5 | location /api { | ||||
6 | proxy_pass http://localhost:12138; | ||||
7 | proxy_set_header Host $host; | ||||
8 | proxy_set_header X-Real-IP $remote_addr; | ||||
9 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||||
10 | } | ||||
11 | } |