error_log /dev/null; pid run/nginx.pid; daemon off; events { } http { include /etc/nginx/mime.types; access_log /dev/null; server { listen ${PORT0}; server_name wba.ecaas.emea.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 /wba/dist; index index.html; } location /fetch-blocks { proxy_pass http://localhost:12358/fetch-blocks; } } }