Guance Learn

Observability questions

Focused answers for definitions, architecture choices, troubleshooting, pricing, and evaluation.

Illustration of server operations and request logs
Explainer

Redirect one domain to another with Nginx

Preserve paths and query strings in a domain redirect, rewrite changed paths, and retain valid TLS on the old hostname.

Illustration of server operations and request logs
Explainer

Configure Nginx as a caching reverse proxy

Set up a bounded response cache, exclude personalized requests, inspect cache status, and manage expiry without confusing bypass with purge.

Illustration of server operations and request logs
Explainer

Use environment variables in Nginx configuration

Render configuration templates before startup, preserve Nginx variables, and understand what the env directive actually does.

Illustration of server operations and request logs
Explainer

Increase the Nginx upload limit on AWS Elastic Beanstalk

Set a persistent request-body limit on Elastic Beanstalk, account for application limits, and verify the deployed configuration.

Illustration of server operations and request logs
Explainer

Find the configuration file your Nginx instance uses

Match the running Nginx binary and startup options, inspect its includes, and distinguish on-disk settings from an accepted reload.

Illustration of server operations and request logs
Explainer

Fix Nginx “directory index is forbidden” errors

Choose a directory index or an intentional directory listing, then check the actual path, permissions, and matched location.

Illustration of server operations and request logs
Explainer

Troubleshoot Nginx 403 responses across a site

Use the error log to separate filesystem permissions, SELinux, path mapping, and access rules before changing ownership.

Illustration of server operations and request logs
Explainer

Configure Nginx to proxy requests to an HTTPS upstream

Encrypt the upstream connection, verify its certificate, and configure SNI and the HTTP Host header deliberately.

Illustration of server operations and request logs
Explainer

Fix “could not build server_names_hash” in Nginx

Choose the right hash setting for long names or many virtual hosts, then test the smallest effective adjustment.

Illustration of server operations and request logs
Explainer

Fix Nginx “conflicting server name … ignored” warnings

Find duplicate hostname mappings on the same listening address and port, and verify which virtual host receives each request.

Illustration of server operations and request logs
Explainer

Fix Nginx connection failures to a PHP-FPM socket

Use the socket error code to distinguish permissions, a missing path, and a stopped FPM pool before changing listener settings.

Illustration of server operations and request logs
Explainer

Redirect HTTP to HTTPS while preserving subdomains in Nginx

Keep the requested host, path, and query string while handling named virtual hosts, certificates, and redirect methods correctly.