Embedded questions periodically return 404

Reuests to metabase are proxy by Nginx. Here is the config for proxy:

location /metabase/ {
  proxy_pass https://metabase.org.com/;

  proxy_set_header Host $host;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header X-Real-IP $remote_addr;

  proxy_connect_timeout 600;
  proxy_send_timeout 600;
  proxy_read_timeout 600;
  send_timeout 600;
} 

First 2 or 3 requests are fine and return data but the next will be with 404 error.
Currently I can see that every 4th request with 404 error.
Question is working fine on Metabase instance UI.

Example od the error:

Is it some kind of bug or issue with configuration?

Hi @aliaksandr.karmyzau
Make sure that the this is configured correctly: Admin > Settings > General > Site URL

I’ve checked. Site URL containes metabase domain (metabase.org.com)

Sorry, it was an issue with nginx. Everything is fine after nginx reboot