Main configuration. Pulls in conf.d, modules-enabled and sites-enabled.
# nginx default page, installed by the n.wtf package
nginx is
running.
If you can read this, the web server is serving requests. Replace this page with your own site whenever you are ready.
Where things live
This build follows the Debian layout, so every path below is where you would expect it on a Debian or Ubuntu system.
Active server blocks, symlinked from sites-available.
Dynamic modules loaded at startup, one load_module per file.
Document root of the default server block, including this page.
access.log and error.log, rotated by logrotate.
Package copy of this page. The postinst script seeds /var/www/html from it.
Next steps
Four things worth knowing before you put this server in front of real traffic.
Running the latest nginx mainline.
n.wtf tracks upstream releases and packages them for Debian and Ubuntu, with TLS 1.3, HTTP/3, Brotli, Zstd and more built in.