When a site behaves oddly I want to read the configuration nginx really loaded, including everything pulled in by include.
sudo nginx -T | less
sudo nginx -T | grep -n server_name
-T tests the configuration like -t and then dumps the result to standard output, with every included file introduced by a comment such as # configuration file /etc/nginx/conf.d/site.conf:. Pipe it through grep to find which file sets a directive. The dump contains certificate paths and any passwords or tokens written in the config, so scrub it before pasting it into a bug report.
Further reading: nginx command-line parameters
Going deeper: 🛜 Guide: AdGuard Home + Tailscale (Secure Split-Horizon DNS)