A
A
Alexey2021-08-06 11:55:56
Nginx
Alexey, 2021-08-06 11:55:56

How to bind a directory to a mac os virtual domain?

Migrating from Windows to Mac OS. On Windows, I had openserver, where there were folders with virtual domains, and when the program was restarted, the hosts themselves were registered in hosts.

What I did: I installed php, mysql, nginx through homebrew - the default index from nginx is now opening at the localhost address.

What else needs to be delivered and how can I create a location folder for all my local sites and how to register them? Correctly I understand that it is necessary to climb into nginx.conf? And is there any automation for creating new virtual domains on a computer?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Golub, 2021-08-06
@RazerVG

Install MAMP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question