server {
  listen       ${NGINX_PORT};

  root  /usr/share/nginx/html;

  location / {
    index index.html;
  }

  error_page 404 /404.html;

  location ~ api\/?.* {
    proxy_pass http://backend:5000;
  }
}