I am having a really puzzling issue with my nginx config. I keep seeing this error:
FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream client: 18.104.22.168, server: apistaging.mydomain.com, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "apistaging.mydomain.com"
This is my nginx/sites/available/apistaging.mydomain.com.conf file:
Any help is appreciated.