Closed syamajala closed 4 years ago
I am sitting in the same boat after updating from 3.x to 4. The config you've posted works for version 3 but stopped working for version 4.
There is no /php/index.php file or php directory in general. Can anyone provide a working Nginx configuration for version 4?
Try this one. The rewrites should fix it - it might be possible to handle that with try_files
but I don't have time to investigate that right now.
Sorry it's taken so long for a reply.
works for me.
Thanks, works for me as well
Detailed description of the problem [REQUIRED]
I'm trying to setup lychee. Whenever I try to access the server I get a dark screen with server error or api not found at the top. In my nginx log I see this: FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream,
I'm not sure if I setup nginx correctly. Here is my nginx config:
Steps to reproduce the issue
Steps to reproduce the behavior:
Output of the diagnostics [REQUIRED]
(Settings => Diagnostics or https://example.com/Diagnostics or
php artisan lychee:diagnostics
)Browser and system
Chromium