Files
cdp/ingestion/console/nginx.conf
2026-05-24 22:59:24 +07:00

24 lines
584 B
Nginx Configuration File

server {
listen 3000;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
# Proxy to backends so the SPA can hit /api/ingest, /api/bulker, /api/rotor.
location /api/ingest/ {
rewrite ^/api/ingest/(.*)$ /$1 break;
proxy_pass http://ingest:3049;
}
location /api/bulker/ {
rewrite ^/api/bulker/(.*)$ /$1 break;
proxy_pass http://bulker:3042;
}
location /api/rotor/ {
rewrite ^/api/rotor/(.*)$ /$1 break;
proxy_pass http://rotor:3401;
}
}