diff --git a/ui/nginx.conf b/ui/nginx.conf index 287063df..8e4da371 100644 --- a/ui/nginx.conf +++ b/ui/nginx.conf @@ -23,14 +23,12 @@ server { } location /artifacts { - alias /var/kraken_storage/public; - } - - location /reports { - alias /var/kraken_storage/report; + proxy_pass http://ui_rest; + proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; + proxy_buffering off; + proxy_set_header Accept-Encoding ""; } - location / { try_files ${DOLLAR}uri ${DOLLAR}uri/ /index.html; }