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