On Wed, Aug 04, 2021 at 11:53:06AM -0400, mumu wrote:
Hi there,
> Hi, there is wildcard support for name-based virtual hosts. Is there
> anything similar for IP-based virtual host with IPv4/IPv6 addresses ?
Does the "default_server" option on the "listen" directive do what you want?
If not, cou
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