Nginx error failed (21: Is a directory)

nginx error

the nginx you just downloaded put an item with a static page in it. The error report is as follows: is there any configuration missing

is it necessary to modify include servers/*;

if the basic configuration nginx.conf remains intact?

clipboard.png

nginx nginx
nginx: [crit] pread () / usr/local/etc/nginx/servers/statics "failed (21: Is a directory)

problem description

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Apr.08,2022

item misplaced and placed in / usr/local/etc/nginx/servers

Change

to

/ usr/local/Cellar/nginx/1.15.8/html/ the following will be fine


there can be no 'folders' in your nginx.conf,include servers/*,servers directory, only 'configuration files'


I changed include servers/* to include servers/*.conf

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e59d9c-45543.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e59d9c-45543.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?