nginx — staging slot

The nginx server is responding on this host. The default index has not been replaced by a deployed application.

$ nginx -v — nginx/1.27.3


// what this is

A staging slot is an instance of your environment that mirrors production closely enough to test deployments before they go live. This particular slot is freshly provisioned, so the default nginx welcome is what gets returned for any request.

Staging is also where smoke tests and integration suites run against a real network stack before each promotion. Treat the slot as throwaway: it can be rebuilt from scratch at any moment without affecting the running production traffic on a sister slot.

When the deploy pipeline finishes, it copies the new build into /var/www/html and reloads nginx. Until then, you keep seeing this page.

// to deploy manually

To replace this page, drop your files into /var/www/html or update the root directive of the matching server block. Reload with sudo systemctl reload nginx.

If you change SSL certificates, the same reload picks up new files without dropping established connections.

// useful commands

// promotion to production

Once smoke tests pass, the deploy pipeline either swaps slot routing (blue-green) or copies the same build to the production slot. The staging slot then sits idle until the next promotion cycle.

Docs: nginx.org

stage-slot-3 · nginx