mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 20:51:25 +03:00
38 lines
963 B
Nginx Configuration File
38 lines
963 B
Nginx Configuration File
|
location / {
|
||
|
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/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;
|
||
|
}
|
||
|
|
||
|
location /robots.txt {
|
||
|
alias robots.txt;
|
||
|
}
|
||
|
|
||
|
location /favicon.ico {
|
||
|
alias assets/logo.png;
|
||
|
}
|