integration layer; merge work on indicators from forks with existing ingestion pipeline
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
# Files travel inside the import requests (multipart or base64 JSON):
|
||||
# keep this above WebApi's WEBAPI_MAX_UPLOAD_MB (200 MB default) plus
|
||||
# the ~33% base64 overhead.
|
||||
client_max_body_size 270m;
|
||||
|
||||
location ~ ^/(api|imports|data|cacu|cama|tea|governance|health)(/|$) {
|
||||
proxy_pass http://webapi:5000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
# OCR over a stack of scanned pages takes a while.
|
||||
proxy_read_timeout 600s;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user