Here you bring up a site from scratch yourself — from the server block to an answer by name.
The operations team needs a status page at status.lab.test. The page is already on the server, the name leads to this machine, and the portal must stay the default site.
The portal's block is a handy model, but a port has one default_server. With two copies of the parameter nginx -t refuses with a duplicate default server for 0.0.0.0:80.
Bring up a third site
Bring up the site status.lab.test: its page is /srv/www/status/index.html, and the name already leads to this machine. The portal stays the default site.
Goals · 0 of 2
- Open the status page by the name status.lab.test not done yet
- Keep the portal as the default site not done yet