Whether the mount folder on the domain name vmware by nginx can be realized.

attempted to mount the project under the www directory in windosw to / mnt/hgfs/WWW in vm, and then added a virtual host through nginx, pointing the domain name to a project in / mnt/hgfs/WWW, with various 403404503 errors

.

some said that php-fpm did not get through, and some said that .user.ini was behind it. Then, after various attempts were fruitless, I uploaded the www directory of windosw to vm and pointed to one of the projects through the domain name again. I found that there was no problem at all, indicating that this has nothing to do with php-fpm.

has anyone ever played like this, or is it unrealistic that the domain name cannot point to a shared folder?

Apr.03,2021

of course, you need to add the mount parameter noserverino .

Please refer to https://serverfault.com/quest.

Menu