nginx: ro-being.com HTTPS에 xvaluelab 프록시 location 3개 추가
Some checks failed
Deploy Nginx Config to Ubuntu Server / deploy (push) Has been cancelled

- /xvaluelab/api/ -> 192.168.0.106:8008/api/
- /xvaluelab/admin/ -> localhost:3030
- /xvaluelab/ -> localhost:3040
라운드2 지시서 [24]_260325 반영.

Made-with: Cursor
This commit is contained in:
happybell80 2026-03-25 16:56:14 +09:00
parent 2fac6f05a3
commit 438445ea97

View File

@ -239,6 +239,32 @@ server {
index index.html;
}
# --- xvaluelab (추가) ---
location ^~ /xvaluelab/api/ {
proxy_pass http://192.168.0.106:8008/api/;
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;
proxy_read_timeout 120s;
}
location ^~ /xvaluelab/admin/ {
proxy_pass http://localhost:3030/xvaluelab/admin/;
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 ^~ /xvaluelab/ {
proxy_pass http://localhost:3040/xvaluelab/;
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;
}
# Legacy Starsandi paths on ro-being.com -> starsandi.com
location ~ ^/(startsandi|zari)(/.*)?$ {
return 301 https://starsandi.com$2$is_args$args;