fix: hardcode upstream address in admin.conf proxy_pass (same variable URI rewrite issue)

This commit is contained in:
2026-04-26 22:38:36 +08:00
parent 8c583acfcc
commit e8898efc0c
+2 -2
View File
@@ -137,14 +137,14 @@ server {
}
location /api/v2/ts/ {
proxy_pass http://$huiwing_htyts_rust/api/v1/ts/;
proxy_pass http://127.0.0.1:3003/api/v1/ts/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /api/v2/proc/ {
proxy_pass http://$huiwing_htyproc_rust/api/v1/proc/;
proxy_pass http://127.0.0.1:3004/api/v1/proc/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;