|
|
@@ -0,0 +1,42 @@ |
|
|
|
error_log /dev/null;
|
|
|
|
pid nginx.pid;
|
|
|
|
daemon off;
|
|
|
|
|
|
|
|
events {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
http {
|
|
|
|
include /pstore/data/data_science/app/modules/nginx-1.17.8/conf/mime.types;
|
|
|
|
|
|
|
|
access_log /dev/null;
|
|
|
|
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 50080;
|
|
|
|
server_name rkalbhpc002.kau.roche.com;
|
|
|
|
|
|
|
|
client_body_temp_path tmp/client_body_temp;
|
|
|
|
fastcgi_temp_path tmp/fastcgi_temp;
|
|
|
|
proxy_temp_path tmp/proxy_temp;
|
|
|
|
scgi_temp_path tmp/scgi_temp;
|
|
|
|
uwsgi_temp_path tmp/uwsgi_temp;
|
|
|
|
|
|
|
|
if ( $request_uri ~ \.(js|css|html|woff|ttf|svg|woff2|eot|svg)$ ) {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
if ( $request_uri ~ ^/fetch-blocks$ ) {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
rewrite .* /index.html;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
root /pstore/home/adaszews/workspace/arvados-workbench-advanced/frontend/dist;
|
|
|
|
index index.html;
|
|
|
|
}
|
|
|
|
|
|
|
|
location /fetch-blocks {
|
|
|
|
proxy_pass http://localhost:12358/fetch-blocks;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|