NAS 기본 설정 변경
This commit is contained in:
@@ -119,6 +119,41 @@ server {
|
||||
proxy_pass http://backend:8000;
|
||||
}
|
||||
|
||||
# Fear & Greed Index (CNN 공개 API)
|
||||
# 프로덕션 nginx에서는 아래 proxy_pass 추가 필요:
|
||||
location /ext/feargreed {
|
||||
proxy_pass https://production.dataviz.cnn.io/index/fearandgreed/graphdata;
|
||||
proxy_set_header Host production.dataviz.cnn.io;
|
||||
}
|
||||
|
||||
# VIX (CBOE 변동성 지수) — Yahoo Finance 공개 API
|
||||
# 프로덕션 nginx에서는 아래 proxy_pass 추가 필요:
|
||||
location /ext/vix {
|
||||
proxy_pass https://query1.finance.yahoo.com/v8/finance/chart/%5EVIX?interval=1d&range=1d;
|
||||
proxy_set_header Host query1.finance.yahoo.com;
|
||||
}
|
||||
|
||||
# 미국 10년물 국채 금리 (^TNX) — Yahoo Finance
|
||||
# 프로덕션 nginx 설정 필요:
|
||||
location /ext/treasury {
|
||||
proxy_pass https://query1.finance.yahoo.com/v8/finance/chart/%5ETNX?interval=1d&range=1d;
|
||||
proxy_set_header Host query1.finance.yahoo.com;
|
||||
}
|
||||
|
||||
# WTI 원유 선물 (CL=F) — Yahoo Finance
|
||||
# 프로덕션 nginx 설정 필요:
|
||||
location /ext/wti {
|
||||
proxy_pass https://query1.finance.yahoo.com/v8/finance/chart/CL%3DF?interval=1d&range=1d;
|
||||
proxy_set_header Host query1.finance.yahoo.com;
|
||||
}
|
||||
|
||||
# Brent 원유 선물 (BZ=F) — Yahoo Finance
|
||||
# 프로덕션 nginx 설정 필요:
|
||||
location /ext/brent {
|
||||
proxy_pass https://query1.finance.yahoo.com/v8/finance/chart/BZ%3DF?interval=1d&range=1d;
|
||||
proxy_set_header Host query1.finance.yahoo.com;
|
||||
}
|
||||
|
||||
# webhook receiver (handle both /webhook and /webhook/)
|
||||
location = /webhook {
|
||||
proxy_http_version 1.1;
|
||||
|
||||
Reference in New Issue
Block a user