How to set a mirror site on Vesta Panel?

Hi all.
Perhaps the question will seem stupid, but I don't found (or searched wrong).
There is a site on the domain It is necessary to raise the mirror, with the ability to edit single file robots.txt. As the panel is Vestacp (VPS).
Do we have to do a dump and deploy near the same site as many times as you need mirrors? Maybe there's another more rational option?
July 2nd 19 at 13:10
1 answer
July 2nd 19 at 13:12
Most likely it is not true, but someone can be useful.

If I understand correctly the question, this is resolved by adding a domain alias in WEB.

And if you need different robots.txt for different domains, in the case of NGINX it is like this
server {
 location = /robots.txt {
 allow all;
 log_not_found off;
 access_log off;
 alias /home/username/web/$host.txt; 

Of course you need to make a new template in VestaCP with NGINX and assign it to the domain.
True, as the solution than to add a new domain, was not found. Alias - not an option if we need a separate robots.txt. - nat12 commented on July 2nd 19 at 13:15
: do you have NGINX or Apache is responsible for the statics? - isadore commented on July 2nd 19 at 13:18
apache - nat12 commented on July 2nd 19 at 13:21
: then by analogy to write a rule for Apache. In rule to use the Alias Directive using the HTTP_HOST variable. - isadore commented on July 2nd 19 at 13:24
: Yes, I understand, since there are converters apache <-> nginx. I'll try. Thank you! - nat12 commented on July 2nd 19 at 13:27

Find more questions by tags Vesta