mirror of
https://github.com/Redume/Kekkai.git
synced 2025-03-13 03:54:37 +03:00
17 lines
541 B
Nginx Configuration File
17 lines
541 B
Nginx Configuration File
location /api/getChart {
|
|
limit_req zone=kekkai burst=4;
|
|
|
|
proxy_pass http://chart:3030;
|
|
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 /static/chart {
|
|
proxy_pass http://chart:3030;
|
|
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;
|
|
}
|