Nginx is configured with a virtual host, but cannot be accessed properly. The configuration is correct, but the root directory of the virtual host cannot be entered.

the configuration file has been configured, and the configuration file has been introduced normally, but the contents have no effect

etc/host has also been configured to take effect
using the mamp integrated environment

clipboard.png

clipboard.png

clipboard.png

Jul.29,2021

the root directory of the website you configured is:

clipboard.png

and you want to enter / Applications/MAMP/htdocs , of course not.


excuse me, I also have the same problem. How did you solve it

?
Menu