Kekkai/nginx/chart/nginx.conf

20 lines
579 B
Nginx Configuration File
Raw Permalink Normal View History

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 {
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;
}