Answer the question
In order to leave comments, you need to log in
How to set up two or more local nginx domains?
Raised a web server on raspberries, I can’t figure out how to create several local domains to separate projects?
For example
home/www/local/ - http: //local/
home/www/dev/ - http: //dev/
Google didn't help much.
Answer the question
In order to leave comments, you need to log in
Google didn't help much.
server
with different directives server_name
and root
. Well, they must be added to hosts, of course.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question