NGINX and Lumen (Laravel) 5

Ben ben+nginx at
Wed Jul 27 16:22:29 UTC 2016

On 27/07/2016 15:50, Reinis Rozitis wrote:
>>  Which translates to the following error.log entry :
>>  stat()
>> "/usr/share/path/to/my/lumen/public/directory/<snip>/public/lumen/"
>> failed (13: Permission denied), client:, server:
>>, request: "POST /lumen/ HTTP/1.1", host: ""
> Does the nginx user have read permissions on that path?

The main problem is that path does not exist.

It exists all the way up to /public/, but NGINX seems to be adding the 
/lumen/ bit, which I guess is because of "location /lumen", but I'm not 
too sure how to go about telling it not to add the the location path as 
a suffix.

More information about the nginx mailing list