IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
906B

  1. error_log /dev/null;
  2. pid run/nginx.pid;
  3. daemon off;
  4. events {
  5. }
  6. http {
  7. include /etc/nginx/mime.types;
  8. access_log /dev/null;
  9. server {
  10. listen ${PORT0};
  11. server_name wba.ecaas.emea.roche.com;
  12. client_body_temp_path tmp/client_body_temp;
  13. fastcgi_temp_path tmp/fastcgi_temp;
  14. proxy_temp_path tmp/proxy_temp;
  15. scgi_temp_path tmp/scgi_temp;
  16. uwsgi_temp_path tmp/uwsgi_temp;
  17. if ( $request_uri ~ \.(js|css|html|woff|ttf|svg|woff2|eot|svg)$ ) {
  18. break;
  19. }
  20. if ( $request_uri ~ ^/fetch-blocks$ ) {
  21. break;
  22. }
  23. rewrite .* /index.html;
  24. location / {
  25. root /wba/dist;
  26. index index.html;
  27. }
  28. location /fetch-blocks {
  29. proxy_pass http://localhost:12358/fetch-blocks;
  30. }
  31. }
  32. }