nginx configuration results in 403

When configuring nginx

try_files $uri $uri/ /index.php?$query_string;



This will result in

directory index of "/home/XXXXX/" is forbidden


Such an error is because the corresponding index is not added, and the configuration is added


index  index.php index.html index.htm


problem solved

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325954847&siteId=291194637
403