Le 06/08/2021 à 18:21, Francis Daly a écrit :
On Fri, Aug 06, 2021 at 04:20:56PM +0200, Vincent M. wrote:
Hi there,
Is it possible to tell the second server to link the file robots.txt to
another file like robots-pro.txt?
Either of
location = /robots.txt { alias /var/www/website/prod/robo
On Fri, Aug 06, 2021 at 04:20:56PM +0200, Vincent M. wrote:
Hi there,
> Is it possible to tell the second server to link the file robots.txt to
> another file like robots-pro.txt?
Either of
location = /robots.txt { alias /var/www/website/prod/robots-pro.txt; }
location = /robots.txt { try_
Hello,
I have a first website with this configuration:
server {
server_name mywebsite.com;
root /var/www/website/prod;
...
}
and a second one like this with the same root folder:
server {
server_name pro.mywebsite.com;
root /var/www/website/prod;
...
}
And th