Having difficulties while deploying my project on Ubuntu server (probably nginx config or something)

location / {

} - but this one (root path) would be taken by gatsby’s http://127.0.0.1:8000

that is why I started to add different directives for Strapi.

Probably this should be done in a different way, right?