mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 20:51:25 +03:00
feat(server): Made a new Root with available currencies to collect and first and last collection date
This commit is contained in:
parent
fff7cebdb7
commit
9bc6c0a203
3 changed files with 31 additions and 0 deletions
11
nginx.conf
11
nginx.conf
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue