mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 20:51:25 +03:00
20 lines
582 B
Nginx Configuration File
20 lines
582 B
Nginx Configuration File
|
location /api/getRate/ {
|
||
|
limit_req zone=kekkai burst=4;
|
||
|
|
||
|
proxy_pass http://server:3000;
|
||
|
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/metadata/ {
|
||
|
limit_req zone=kekkai burst=4;
|
||
|
|
||
|
proxy_pass http://server:3000;
|
||
|
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;
|
||
|
}
|