init ingestion
This commit is contained in:
23
ingestion/console/nginx.conf
Normal file
23
ingestion/console/nginx.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user