NGINX – FILE NOT FOUND

  nginx, php, wordpress

i need help with my nginx config. At the moment I have a fully functioning Nextcloud instance, accessible from a subdomain. I tested my setup with a wordpress docker and a manuell install, with the same outcome.

The problem is with my wordpress installation, Nginx will not access the files and i am not able to access the wordpress UI. Could this habe something todo with file privileges? Because the error logs donĀ“t show any file path, but Nginx runs and does not show config errors.

/swag/nginx/error.log entry

2021/09/20 15:33:22 [error] 473#473: *4 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: , server: , request: "GET / HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: ""

If i need to supply further information/files, let me know!

Source: Ask PHP

LEAVE A COMMENT