feat(server): Made a new Root with available currencies to collect and first and last collection date

This commit is contained in:
Данил 2025-01-17 15:11:29 +03:00
parent fff7cebdb7
commit 9bc6c0a203
3 changed files with 31 additions and 0 deletions

View file

@ -51,6 +51,17 @@ http {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /api/metadata {
limit_req zone=kekkai burst=4;
add_header Access-Control-Allow-Origin *;
proxy_pass http://server_backend;
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/getChart {
limit_req zone=kekkai burst=4;