Answer the question
In order to leave comments, you need to log in
WWW in subdomains?
When setting up the nginx configuration, server_name is usually specified domain.ru and www.domain.ru, and I think if I specify the same for the subdomain (sub.domain.ru and www.sub.domain.ru), www is not needed? because when you try to go like this in the browser, it does not open anything, it turns out that you only need to specify odig?
Answer the question
In order to leave comments, you need to log in
It is not necessary to specify different domains/subdomains in server_name in one nginx.conf. Just insert the line into the config:
include /etc/nginx/vhosts/*/*.conf;
And in vhosts you specify everything you need with separate configs in each of which only one domain/subdomain is specified in server_name.
employer
task
SELECT name FROM employer, task
WHERE task.creator = employer.id
OR task.responser = employer.id
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question